|
@@ -31,6 +31,8 @@ String CodeBlock::render_to_html() const
|
|
String style_language = this->style_language();
|
|
String style_language = this->style_language();
|
|
Text::Style style = this->style();
|
|
Text::Style style = this->style();
|
|
|
|
|
|
|
|
+ builder.append("<pre>");
|
|
|
|
+
|
|
if (style.strong)
|
|
if (style.strong)
|
|
builder.append("<b>");
|
|
builder.append("<b>");
|
|
if (style.emph)
|
|
if (style.emph)
|
|
@@ -53,7 +55,7 @@ String CodeBlock::render_to_html() const
|
|
if (style.strong)
|
|
if (style.strong)
|
|
builder.append("</b>");
|
|
builder.append("</b>");
|
|
|
|
|
|
- builder.append('\n');
|
|
|
|
|
|
+ builder.append("</pre>\n");
|
|
|
|
|
|
return builder.build();
|
|
return builder.build();
|
|
}
|
|
}
|