Skip to:
Content

BuddyPress.org

Changes between Initial Version and Version 1 of Ticket #6517, comment 5


Ignore:
Timestamp:
06/20/2015 09:10:28 PM (9 years ago)
Author:
hnla
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6517, comment 5

    initial v1  
    55
    66HTML 3.0 :s
     7
     8So dumping $openTags results in:
     9`array(7) { [0]=> string(1) "p" [1]=> string(2) "a " [2]=> string(2) "a>" [3]=> string(2) "a>" [4]=> string(2) "a " [5]=> string(2) "p>" [6]=> string(2) "p>" } `
     10
     11we then foreach those and do:
     12`'</' . $tag . '>'`
     13
     14Clearly that's wrong and why we're doubling up the closing angle bracket.
     15
     16`[2]=> string(2) "a>"`
     17
     18`'</' . 'a>' . '>'` effectively.
     19
     20Can't see where in that yet we're messing up the $openTag and it's hard to fathom preg_match stuff.