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

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>

1 Like

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>

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.

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

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

2 Likes