[buddypress-trac] [BuddyPress Trac] #3680: buddypress theme doesn’t consider the ”more tag” and showing error

buddypress-trac noreply at wordpress.org
Sun Feb 22 01:01:51 UTC 2015


#3680: buddypress theme doesn’t consider the ”more tag” and showing error
------------------------------+------------------
 Reporter:  walid3            |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  2.3
Component:  Component - Core  |     Version:  1.5
 Severity:  normal            |  Resolution:
 Keywords:                    |
------------------------------+------------------
Changes (by boonebgorges):

 * keywords:  reporter-feedback =>
 * milestone:  Future Release => 2.3


Comment:

 #6246 was marked as a duplicate.

 The issue is that `bp_create_excerpt()` is too strict about what counts as
 an HTML tag. It requires `<\w`, which is to say that a word-character has
 to follow the opening bracket; `<!--` does not meet this requirement. I'm
 going to modify the regex so that it allows an exclamation point. This
 will result in some false positives in odd cases where people are putting
 miscellaneous stuff in corner brackets - `Foo <bar baz> barry` - but it's
 pretty much impossible to validate tags in a reliable way (and to some
 extent this bug exists already).

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3680#comment:3>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list