aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorMarc Schreiber <schrieveslaach@online.de>2017-05-04 16:48:27 +0200
committerMarc Schreiber <schrieveslaach@online.de>2017-05-04 16:48:27 +0200
commit4ed6d9165672917cb9450578c8f7d84121ecfc24 (patch)
tree7875ecbbbcf7a25aeef8e904e86fed7e15a7df14 /test/command
parent1728d4e60983e050be4bfb5b8c2e6065b4dd198a (diff)
downloadpandoc-4ed6d9165672917cb9450578c8f7d84121ecfc24.tar.gz
\textcolor will be parse as span at the beginning of a paragraph
Diffstat (limited to 'test/command')
-rw-r--r--test/command/textcolor.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/command/textcolor.md b/test/command/textcolor.md
index aa3593822..59b0f6a16 100644
--- a/test/command/textcolor.md
+++ b/test/command/textcolor.md
@@ -7,6 +7,13 @@ Hello \textcolor{red}{World}
```
% pandoc -f latex -t native
+\textcolor{red}{Hello} World
+^D
+[Para [Span ("",[],[("style","color: red")]) [Str "Hello"],Space,Str "World"]]
+```
+
+```
+% pandoc -f latex -t native
Hello \textcolor{blue}{\textbf{World}}
^D
[Para [Str "Hello",Space,Span ("",[],[("style","color: blue")]) [Strong [Str "World"]]]]