aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTristan Darricau <tristan.darricau@sensiolabs.com>2015-05-29 16:15:04 +0200
committerTristan Darricau <tristan.darricau@sensiolabs.com>2015-05-29 16:15:04 +0200
commit86ad1a92c87a6bde184b59a981b40752bf2f61b1 (patch)
tree7ac4c84bd731c01ca6466126cfbdac1a9c1f84a7 /tests
parent2aecb9406811cfa6fa9a6de1094479d4b62990f0 (diff)
parent5c78be56ec0d32a7934bdfd83a4fb0242befc1fa (diff)
downloadforums-86ad1a92c87a6bde184b59a981b40752bf2f61b1.tar
forums-86ad1a92c87a6bde184b59a981b40752bf2f61b1.tar.gz
forums-86ad1a92c87a6bde184b59a981b40752bf2f61b1.tar.bz2
forums-86ad1a92c87a6bde184b59a981b40752bf2f61b1.tar.xz
forums-86ad1a92c87a6bde184b59a981b40752bf2f61b1.zip
Merge pull request #3561 from s9e/ticket/10922
[ticket/10922] Added support for body and subject in email BBCode
Diffstat (limited to 'tests')
-rw-r--r--tests/text_processing/tickets_data/PHPBB3-10922.html10
-rw-r--r--tests/text_processing/tickets_data/PHPBB3-10922.txt10
2 files changed, 18 insertions, 2 deletions
diff --git a/tests/text_processing/tickets_data/PHPBB3-10922.html b/tests/text_processing/tickets_data/PHPBB3-10922.html
index cdf8316df0..3ff117f171 100644
--- a/tests/text_processing/tickets_data/PHPBB3-10922.html
+++ b/tests/text_processing/tickets_data/PHPBB3-10922.html
@@ -1 +1,9 @@
-<a href="mailto:user@example.org">user@example.org</a><a href="mailto:user@example.org">...</a> \ No newline at end of file
+<a href="mailto:user@example.org">user@example.org</a><br>
+<a href="mailto:user@example.org">...</a><br>
+<a href="mailto:user@example.org">...</a><br>
+<a href="mailto:user@example.org?subject=Hello">...</a><br>
+<a href="mailto:user@example.org?subject=Hi%20there">user@example.org</a><br>
+<a href="mailto:user@example.org?body=Hi%20there">user@example.org</a><br>
+<a href="mailto:user@example.org?subject=Hello&amp;body=Sent%20from%20phpBB">user@example.org</a><br>
+<a href="mailto:user@example.org?subject=Hello&amp;body=Sent%20from%20phpBB">user@example.org</a><br>
+<a href="mailto:user@example.org?subject=Hello&amp;body=Sent%20from%20phpBB">...</a><br>
diff --git a/tests/text_processing/tickets_data/PHPBB3-10922.txt b/tests/text_processing/tickets_data/PHPBB3-10922.txt
index 348f8a1541..e533ce6ed5 100644
--- a/tests/text_processing/tickets_data/PHPBB3-10922.txt
+++ b/tests/text_processing/tickets_data/PHPBB3-10922.txt
@@ -1 +1,9 @@
-[email]user@example.org[/email][email=user@example.org]...[/email] \ No newline at end of file
+[email]user@example.org[/email]
+[email=user@example.org]...[/email]
+[email=user@example.org ]...[/email]
+[email=user@example.org subject="Hello"]...[/email]
+[email subject="Hi there"]user@example.org[/email]
+[email body="Hi there"]user@example.org[/email]
+[email subject="Hello" body="Sent from phpBB"]user@example.org[/email]
+[email body="Sent from phpBB" subject="Hello"]user@example.org[/email]
+[email body="Sent from phpBB" subject="Hello" email="user@example.org"]...[/email]