diff options
Diffstat (limited to 'inc/display.php')
| -rw-r--r-- | inc/display.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/inc/display.php b/inc/display.php index 84055d5f..4988cbf5 100644 --- a/inc/display.php +++ b/inc/display.php @@ -330,6 +330,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 @@ -430,6 +435,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 |
