1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-25 20:44:01 +01:00

[ticket/14405] Force a lookahead check on [URL] BBCodes

PHPBB3-14405
This commit is contained in:
JoshyPHP 2016-01-12 11:54:20 +01:00
parent 68d945e931
commit e4dae8ed4b
3 changed files with 3 additions and 1 deletions

View File

@ -94,7 +94,7 @@ class factory implements \phpbb\textformatter\cache_interface
]{TEXT2}[/QUOTE]", ]{TEXT2}[/QUOTE]",
'size' => '[SIZE={FONTSIZE}]{TEXT}[/SIZE]', 'size' => '[SIZE={FONTSIZE}]{TEXT}[/SIZE]',
'u' => '[U]{TEXT}[/U]', 'u' => '[U]{TEXT}[/U]',
'url' => '[URL={URL;useContent}]{TEXT}[/URL]', 'url' => '[URL={URL;useContent} $forceLookahead=true]{TEXT}[/URL]',
); );
/** /**

View File

@ -0,0 +1 @@
[url=<a href="http://example.org" class="postlink">http://example.org</a>]...

View File

@ -0,0 +1 @@
[url=http://example.org]...