[wp-meta] [Making WordPress.org] #1250: DevHub: The RegEx in fix_unintended_markdown() filter is too greedy

Making WordPress.org noreply at wordpress.org
Sun Sep 27 17:08:51 UTC 2015


#1250: DevHub: The RegEx in fix_unintended_markdown() filter is too greedy
-------------------------+-------------------------------------
Reporter:  DrewAPicture  |      Owner:
    Type:  defect        |     Status:  new
Priority:  normal        |  Component:  developer.wordpress.org
Keywords:  has-patch     |
-------------------------+-------------------------------------
 In [1138], we introduced the `fix_unintended_markdown()` filter on
 `the_content` which was meant to cover the case where Parsedown was
 parsing parameters like `$post__in` as having italics in the middle.

 Unfortunately, we're also now seeing emphasis tags in other places, e.g.
 Explanations, ''also'' getting re-replaced with underscores.

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/1250>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list