mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-23 00:38:07 +01:00
parent
06de3a17f8
commit
fe65c0e44f
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ class AdvancedTextFormatter < TextFormatter
|
|||
end
|
||||
|
||||
def block_code(code, _language)
|
||||
<<~HTML.squish
|
||||
<<~HTML
|
||||
<pre><code>#{ERB::Util.h(code).gsub("\n", '<br/>')}</code></pre>
|
||||
HTML
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue