Markdown / bbcode code/quote bug

Oh wait, I think I understand what you mean :man_facepalming:

  1. Write down the following markdown
[code]
line1
line2
[/code]
  1. Select the text and click the “Blockquote” button so it prepends a > on each line
> [code]
> line1
> line2
> [/code]

Which renders (wrongly) as

line1
line2

Instead of

line1
line2

This is most likely an issue with the way we parse BBCode Blocks :thinking:

1 Like