mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 08:47:45 +02:00
[ticket/10620] Removed extraneous quotes from attribute values
PHPBB3-10620
This commit is contained in:
@@ -98,11 +98,15 @@ class phpbb_textformatter_s9e_utils_test extends phpbb_test_case
|
||||
array('foo')
|
||||
),
|
||||
array(
|
||||
'[quote="foo"]..[/quote] [quote="bar"]..[/quote]',
|
||||
'[quote=foo]..[/quote] [quote]..[/quote]',
|
||||
array('foo')
|
||||
),
|
||||
array(
|
||||
'[quote=foo]..[/quote] [quote=bar]..[/quote]',
|
||||
array('foo', 'bar')
|
||||
),
|
||||
array(
|
||||
'[quote="foo"].[quote="baz"]..[/quote].[/quote] [quote="bar"]..[/quote]',
|
||||
'[quote=foo].[quote=baz]..[/quote].[/quote] [quote=bar]..[/quote]',
|
||||
array('foo', 'bar')
|
||||
),
|
||||
);
|
||||
@@ -169,7 +173,7 @@ class phpbb_textformatter_s9e_utils_test extends phpbb_test_case
|
||||
'post_id' => 123,
|
||||
'url' => 'http://example.org'
|
||||
),
|
||||
'[quote="user" post_id="123" url="http://example.org"]...[/quote]',
|
||||
'[quote=user post_id=123 url=http://example.org]...[/quote]',
|
||||
),
|
||||
array(
|
||||
'This is a long quote that is definitely going to exceed 80 characters',
|
||||
|
Reference in New Issue
Block a user