Multi-Line Strikethrough Not Covering Quotes


(Alex Sherwood) #1

I’m not sure whether this bug is specific to Discourse but when I try to strikethrough several lines of text & one of those lines is a quote, the quote’s text is not struck out.

The preview displays the quoted text as struck out -

but when posted, it renders like this -

Striking out each line instead like this -

does behave as I was expecting -

Strikethrough `<s>` displayed differently in editor preview and post
(cpradio) #2

You should really try that example at

As that is the site testing implementing the common mark spec into Discourse.

(Sam Saffron) #3

Works fine in

(Alex Sherwood) #4

I’m still having the same issue in, in your example you haven’t got struck out text before the quote but in mine, I have -

looks like

From this topic -

(Sam Saffron) #5

Looks like nokogiri may be messing stuff up, I will investigate.

(Jeff Atwood) #6

Let’s see

Some text

a quote


<s>Some text

> a quote


This still happens.

(Sam Saffron) #7

Strike is an inline, not a block level element, I may just add a rule to balance inline tags