mirror of
https://tildegit.org/sbgodin/HtmGem.git
synced 2023-08-25 13:53:12 +02:00
FIX: adds line feed inside a blockquote
Example: > line_1 > line_2 Before : line_1 line_2 After : Line_1 Line_2
This commit is contained in:
parent
710bd1bf07
commit
c1299a2bdb
@ -271,9 +271,11 @@ class GemtextTranslate_html {
|
||||
echo "<pre>\n$text\n</pre>\n";
|
||||
break;
|
||||
case ">":
|
||||
$text = implode("\n", $node["texts"]);
|
||||
self::htmlPrepare($text);
|
||||
if ($textDecoration) self::addTextDecoration($text);
|
||||
foreach ($node["texts"] as &$text) {
|
||||
self::htmlPrepare($text);
|
||||
if ($textDecoration) self::addTextDecoration($text);
|
||||
}
|
||||
$text = implode("<br>\n", $node["texts"]);
|
||||
echo "<blockquote>\n$text\n</blockquote>\n";
|
||||
break;
|
||||
case "=>":
|
||||
|
Loading…
Reference in New Issue
Block a user