mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/14405] Force a lookahead check on [URL] BBCodes
PHPBB3-14405
This commit is contained in:
parent
68d945e931
commit
e4dae8ed4b
3 changed files with 3 additions and 1 deletions
|
@ -94,7 +94,7 @@ class factory implements \phpbb\textformatter\cache_interface
|
|||
]{TEXT2}[/QUOTE]",
|
||||
'size' => '[SIZE={FONTSIZE}]{TEXT}[/SIZE]',
|
||||
'u' => '[U]{TEXT}[/U]',
|
||||
'url' => '[URL={URL;useContent}]{TEXT}[/URL]',
|
||||
'url' => '[URL={URL;useContent} $forceLookahead=true]{TEXT}[/URL]',
|
||||
);
|
||||
|
||||
/**
|
||||
|
|
1
tests/text_processing/tickets_data/PHPBB3-14405.html
Normal file
1
tests/text_processing/tickets_data/PHPBB3-14405.html
Normal file
|
@ -0,0 +1 @@
|
|||
[url=<a href="http://example.org" class="postlink">http://example.org</a>]...
|
1
tests/text_processing/tickets_data/PHPBB3-14405.txt
Normal file
1
tests/text_processing/tickets_data/PHPBB3-14405.txt
Normal file
|
@ -0,0 +1 @@
|
|||
[url=http://example.org]...
|
Loading…
Add table
Reference in a new issue