forked from leftypol/leftypol
Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts: inc/config.php
This commit is contained in:
commit
8de81d176c
6 changed files with 166 additions and 57 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue