Nested quotation marks in title aren't rendered correctly

(Gerhard Schlager) #1

It’s no biggie, but I thought I’d mention it. :wink:
Looking at one of my private messages I’ve seen this:

The original topic title contained quotation marks and the title was enclosed in another set of quotation marks in the private message’s title.

Discourse tries to use curly quotes and gets confused. They are in wrong order.
I’d expect the outer ones to be curly quotes and the rest of them the normal quotes.

(Sam Saffron) #2

Nice this is actually a Ruby land bug if anyone wants to have a look. Fix likely need upstreaming.

(Gerhard Schlager) #3

Looks like the latest changes to title prettify fixed this:

(Jeff Atwood) #4