#2199 Fix our markdown processor for strikethrough
Merged by pingou. Opened by pingou.
fix_strikethrough  into  master

Download 2199.patch

Fixes https://pagure.io/pagure/issue/2198

:thumbsup:

I think it should use a non-greedy match. Test case ~~foo~~ and ~~bar~~ should have two <del> tags IMO. Currently it produces <del>foo~~ and ~~bar</del>.

1 new commit added

  • Make the strikethrough regex non-greedy and add a test for this

@lsedlar what do you think of this PR now?

@pingou Sorry about the long delay, the current patch looks good to me.

Thanks for the review :)

rebased

Pull-Request has been merged by pingou

Metadata