1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/13901] Add more whitespace to long quotes for readability

PHPBB3-13901
This commit is contained in:
JoshyPHP
2015-05-30 22:17:14 +02:00
parent 073f3e6fdc
commit 2f0d11ba3c
5 changed files with 23 additions and 6 deletions

View File

@@ -221,6 +221,10 @@ class phpbb_textformatter_s9e_default_formatting_test extends phpbb_test_case
'[quote="http://example.org"]...[/quote]',
'<blockquote><div><cite><a href="http://example.org" class="postlink">http://example.org</a> wrote:</cite>...</div></blockquote>'
),
array(
"[quote]\nThis is a long quote that is definitely going to exceed 80 characters\n[/quote]\n\nFollowed by a reply",
"<blockquote class=\"uncited\"><div>\nThis is a long quote that is definitely going to exceed 80 characters\n</div></blockquote>\n\nFollowed by a reply"
),
);
}
}

View File

@@ -171,6 +171,16 @@ class phpbb_textformatter_s9e_utils_test extends phpbb_test_case
),
'[quote="user" post_id="123" url="http://example.org"]...[/quote]',
),
array(
'This is a long quote that is definitely going to exceed 80 characters',
array(),
"[quote]\nThis is a long quote that is definitely going to exceed 80 characters\n[/quote]",
),
array(
' This is a short quote on its own line ',
array(),
'[quote]This is a short quote on its own line[/quote]',
),
);
}