summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/Translate/tests/phpunit/pagetranslation/Whitespace.ptsource
diff options
context:
space:
mode:
Diffstat (limited to 'www/wiki/extensions/Translate/tests/phpunit/pagetranslation/Whitespace.ptsource')
-rw-r--r--www/wiki/extensions/Translate/tests/phpunit/pagetranslation/Whitespace.ptsource19
1 files changed, 19 insertions, 0 deletions
diff --git a/www/wiki/extensions/Translate/tests/phpunit/pagetranslation/Whitespace.ptsource b/www/wiki/extensions/Translate/tests/phpunit/pagetranslation/Whitespace.ptsource
new file mode 100644
index 00000000..e6773415
--- /dev/null
+++ b/www/wiki/extensions/Translate/tests/phpunit/pagetranslation/Whitespace.ptsource
@@ -0,0 +1,19 @@
+There is a two new lines after this line.
+
+<translate>
+
+<!--T:-1-->
+There is a two new lines before and after this line.
+
+</translate>
+
+There is a two new lines before and after this line also.
+
+
+There is three spaces trailing on this line: <translate>
+
+ <!--T:-1-->
+This line is prefixed with a space, with two trailing spaces </translate>
+
+<translate><!--T:-1--> line1</translate>
+<translate><!--T:-1--> line2</translate>