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:
parent
68d945e931
commit
e4dae8ed4b
@ -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…
x
Reference in New Issue
Block a user