mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-27 15:29:19 +01:00
$config['always_regenerate_markup']
This commit is contained in:
parent
2d4143c676
commit
cae63cf65e
@ -316,6 +316,11 @@ class Post {
|
|||||||
|
|
||||||
$this->modifiers = extract_modifiers($this->body_nomarkup);
|
$this->modifiers = extract_modifiers($this->body_nomarkup);
|
||||||
|
|
||||||
|
if ($config['always_regenerate_markup']) {
|
||||||
|
$this->body = $this->body_nomarkup;
|
||||||
|
markup($this->body);
|
||||||
|
}
|
||||||
|
|
||||||
if ($this->mod)
|
if ($this->mod)
|
||||||
// Fix internal links
|
// Fix internal links
|
||||||
// Very complicated regex
|
// Very complicated regex
|
||||||
@ -411,6 +416,11 @@ class Thread {
|
|||||||
|
|
||||||
$this->modifiers = extract_modifiers($this->body_nomarkup);
|
$this->modifiers = extract_modifiers($this->body_nomarkup);
|
||||||
|
|
||||||
|
if ($config['always_regenerate_markup']) {
|
||||||
|
$this->body = $this->body_nomarkup;
|
||||||
|
markup($this->body);
|
||||||
|
}
|
||||||
|
|
||||||
if ($this->mod)
|
if ($this->mod)
|
||||||
// Fix internal links
|
// Fix internal links
|
||||||
// Very complicated regex
|
// Very complicated regex
|
||||||
|
Loading…
x
Reference in New Issue
Block a user