[buddypress-trac] [BuddyPress Trac] #6517: bp_create_excerpt returning mall-formed markup - mb_strlen issues?
buddypress-trac
noreply at wordpress.org
Tue Jun 23 13:55:40 UTC 2015
#6517: bp_create_excerpt returning mall-formed markup - mb_strlen issues?
------------------------------+---------------------------
Reporter: hnla | Owner: boonebgorges
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 2.3.3
Component: Component - Core | Version:
Severity: normal | Resolution: fixed
Keywords: |
------------------------------+---------------------------
Comment (by boonebgorges):
In [changeset:"9963"]:
{{{
#!CommitTicketReference repository="" revision="9963"
Improve the HTML-handling logic of `bp_create_excerpt()`.
* The regular expression that detects tags should be less generous, to
avoid false matches.
* Word boundary detection, as used when `exact=false`, should never return
a space character inside of an HTML tag (such as the space in `<a
href="http://example.com">`).
These changes fix some tag-parsing issues introduced in [9523].
Merges [9962] to the 2.3 branch for 2.2.3.
Fixes #6517.
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6517#comment:22>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list