|
@@ -99,8 +99,8 @@ |
|
|
block discarded – undo |
|
99
|
99
|
} |
|
100
|
100
|
|
|
101
|
101
|
// Take the first line |
|
102
|
|
- $html = strtr($html, ["</p>\n<p>" => MarkdownFactory::BREAK . MarkdownFactory::BREAK]); |
|
103
|
|
- [$html] = explode(MarkdownFactory::BREAK, strip_tags(trim($html), ['br'])); |
|
|
102
|
+ $html = strtr($html, ["</p>\n<p>" => MarkdownFactory::break . MarkdownFactory::break]); |
|
|
103
|
+ [$html] = explode(MarkdownFactory::break, strip_tags(trim($html), ['br'])); |
|
104
|
104
|
|
|
105
|
105
|
if ($html !== '') { |
|
106
|
106
|
$html = htmlspecialchars_decode($html, ENT_QUOTES); |
Please login to merge, or discard this patch.