summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/display.php10
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