Changeset 6885
- Timestamp:
- 12/20/2018 08:40:00 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/common/formatting.php
r6861 r6885 393 393 394 394 // Cleanup of accidental links within links 395 return preg_replace( '#(<a([ \r\n\t]+[^>]+?>|>))<a [^>]+?>([^>]+?)</a> </a>#i', "$1$3</a>", $r );395 return preg_replace( '#(<a([ \r\n\t]+[^>]+?>|>))<a [^>]+?>([^>]+?)</a>([^<]*)</a>#i', "$1$3$4</a>", $r ); 396 396 } 397 397
Note: See TracChangeset
for help on using the changeset viewer.