Browse Source

$config['always_regenerate_markup']

pull/40/head
Michael Foster 9 years ago
parent
commit
3b63cad71f
  1. 10
      inc/display.php

10
inc/display.php

@ -316,6 +316,11 @@ class Post {
$this->modifiers = extract_modifiers($this->body_nomarkup);
if ($config['always_regenerate_markup']) {
$this->body = $this->body_nomarkup;
markup($this->body);
}
if ($this->mod)
// Fix internal links
// Very complicated regex
@ -411,6 +416,11 @@ class Thread {
$this->modifiers = extract_modifiers($this->body_nomarkup);
if ($config['always_regenerate_markup']) {
$this->body = $this->body_nomarkup;
markup($this->body);
}
if ($this->mod)
// Fix internal links
// Very complicated regex

Loading…
Cancel
Save