[wp-trac] [WordPress Trac] #18549: wp_texturize incorrectly curls closing quotes after inline HTML end tags
WordPress Trac
noreply at wordpress.org
Tue Aug 25 09:31:14 UTC 2015
#18549: wp_texturize incorrectly curls closing quotes after inline HTML end tags
-------------------------------------------------+-------------------------
Reporter: justincwatt | Owner:
Type: defect (bug) | wonderboymusic
Priority: normal | Status: reopened
Component: Formatting | Milestone: Future
Severity: normal | Release
Keywords: wptexturize needs-patch needs-unit- | Version: 3.2.1
tests | Resolution:
| Focuses:
-------------------------------------------------+-------------------------
Comment (by gitlost):
This patch is an implementation of miqrogroove's algorithm to remove
inline HTML and shortcodes while processing quotes, and then to reinstate
them, using routines which wrap str_replace/preg_replace to keep track of
offset changes.
It seems to run around 30-100% slower than the current version, though it
can actually run faster occasionally depending on the data.
One incompatibility is thrown up by the unittests, in the "crazy"
shortcode test.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/18549#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list