Quote inside quote display issue


I have a (non-production) Discourse forum running 2.0.0 beta 4. We have imported posts which include quotes-within-quotes (i.e. a post quotes another post which itself contains a quote). This does not display properly as shown below. This bug appears to be the same as this bug from 2014.

(Both the post being directly quoted and the post quoted within it do exist on that post so it’s not an issue there)

(Rafael dos Santos Silva) #2

This does work, but the [quote] bbcode must be in a line by itself.


[quote="notriddle, post:17, topic:82156, full:true"]
[quote="joffreyjaffeux, post:14, topic:82156, full:true"]
Post Contents
Post Contents


I’ve confirmed that manually editing the post to that format fixes it. However the original incorrect markdown was produced by Discourse’s SMF2 migrator. Is this a bug with the script then?

(Rafael dos Santos Silva) #4

Actually we changed the behavior of the quote in the last release, and made it to require a block (line by itself) to reduce the complexity in the parser and the surface area for bugs.

We have a remap rake task, that you can use to fix those if, and only if, you think the risk is worth it. Remember to backup before.