Multiple <sup>'s in cooked post don't work


#1

This does not work cooked

However, if you preview, it renders correctly.

.topic-body sup sup{top:0} seems to be the problem.

Really, that class shouldn’t exist, because you’re breaking the functionality of <sup>


#2

You know that was done because we used <sup> because we kept using it to make content flow outside the post, into the one above, right? :wink:

But I do agree it should have been handled in a way that preserves the behaviour of <sup>


#3

I think at about the fifth level it should stop because it gets small enough to not be readable.

And either way, the preview should match the cooked version.


(Jens Maier) #4

Yeah, the selector is off the mark, I think.

https://github.com/discourse/discourse/pull/3418


(Régis Hanol) #5