1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-07 01:06:48 +02:00

[ticket/16630] Restore clean_formatting()'s behaviour

PHPBB3-16630
This commit is contained in:
JoshyPHP
2020-11-06 23:07:30 +01:00
parent 39c3a6c3e5
commit 8a8893fbd3
4 changed files with 16 additions and 5 deletions

View File

@@ -60,13 +60,17 @@ class phpbb_textformatter_s9e_utils_test extends phpbb_test_case
'<t>Plain text</t>',
'Plain text'
),
array(
'<t>Plain &amp; boring</t>',
'Plain & boring'
),
array(
"<t>Multi<br/>\nline</t>",
"Multi\nline"
),
array(
'<r><B><s>[b]</s>bold<e>[/b]</e></B></r>',
' bold '
'<r><B><s>[b]</s>bold<e>[/b]</e></B> &amp; <I><s>[i]</s>italic<e>[/i]</e></I></r>',
' bold & italic '
)
);
}