aboutsummaryrefslogtreecommitdiff
path: root/test/writers-lang-and-dir.context
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-11-16 17:20:17 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2019-11-16 17:31:47 -0800
commit8683cb596da0a1b0081744cc828c03d5f9460d5b (patch)
tree6bbe9fcfddb47f2a4d624fc34181869eb89f8fb6 /test/writers-lang-and-dir.context
parentc4e198c84d3c3ff499893962f37a5b5ea8462626 (diff)
downloadpandoc-8683cb596da0a1b0081744cc828c03d5f9460d5b.tar.gz
ConTeXt writer: use braces, not start/stop, for inline language tags.
This prevents unwanted gobbling of spaces.
Diffstat (limited to 'test/writers-lang-and-dir.context')
-rw-r--r--test/writers-lang-and-dir.context13
1 files changed, 6 insertions, 7 deletions
diff --git a/test/writers-lang-and-dir.context b/test/writers-lang-and-dir.context
index d58164f38..b309d130b 100644
--- a/test/writers-lang-and-dir.context
+++ b/test/writers-lang-and-dir.context
@@ -98,10 +98,10 @@ German div contents
and more text.
-Next paragraph with a \start\language[en-gb]British span\stop and a
-word-that-includesa\start\language[de-ch]Swiss German span\stop right?
+Next paragraph with a {\language[en-gb]British span} and a
+word-that-includesa{\language[de-ch]Swiss German span}right?
-Some \start\language[es]Spanish text\stop .
+Some {\language[es]Spanish text}.
\section[title={Combined},reference={combined}]
@@ -116,9 +116,8 @@ French rtl div contents
and more text.
-Next paragraph with a \start\language[en-gb]{\lefttoright British ltr
-span}\stop and a
-word-that-includesa\start\language[de-ch]{\lefttoright Swiss German ltr
-span}\stop right?
+Next paragraph with a {\language[en-gb]{\lefttoright British ltr span}}
+and a word-that-includesa{\language[de-ch]{\lefttoright Swiss German ltr
+span}}right?
\stoptext