Multi-Line Strikethrough Not Covering Quotes

@sam @codinghorror

Feed-back from the gnome people is:

There weren’t any major features added [to libxml2] in the last ~10 years and libxml2 is only barely maintained. Have a look at Gumbo if you need a HTML5 parser written in C with bindings for many languages like Ruby.

Original here

and a workaround would be to use HTML4 in the preview window as per this answer (dunno if the browser fix was already present back then).

Just a last remark: As you’re basing your project on a project that’s basing their code on a 10 year old barely maintained library, it might be useful to have a look at something else and end-users will have to live with doing the strike-through manually over multiple lines until then…

¯\_(ツ)_/¯

4 Likes

We already ship with nokogumbo, we will track elsewhere if it makes sense to migrate to it. Will definitely take a few months.

 [5] pry(main)> Nokogiri::HTML5.fragment("<p><s>a</p><p>b &aleph;</p>").to_s
=> "<p><s>a</s></p><p><s>b ℵ</s></p>"
[6] pry(main)> Nokogiri::HTML.fragment("<p><s>a</p><p>b &aleph;</p>").to_s
=> "<p><s>a</s></p><p>b &amp;aleph;</p>"

Will update here once we make a decision.

6 Likes

@kris.kotlarek is working on this

4 Likes

Only noticed a couple of hours ago it’s working now!

:+1: :100:

Thank you! (Can’t give you the Solution as you don’t seem to have that plugin running…) :innocent:

Proof:

Strikethrough
on
multiple lines

8 Likes