diff options
| author | Michael Foster <savetheinternet@tinyboard.org> | 2013-08-29 15:29:04 +1000 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-08-29 15:29:04 +1000 |
| commit | 3b63cad71fe15f98dc84f3d6451817251e8f89f7 (patch) | |
| tree | bd9db27f98fd7d93db5c4b40b02732fce700c94e /inc/display.php | |
| parent | abd013d6e423b316d52c1900711f2c8bd7dbe964 (diff) | |
$config['always_regenerate_markup']
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 81f8c53d..4639e86e 100644 --- a/inc/display.php +++ b/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 |
