From 4ed6d9165672917cb9450578c8f7d84121ecfc24 Mon Sep 17 00:00:00 2001 From: Marc Schreiber Date: Thu, 4 May 2017 16:48:27 +0200 Subject: \textcolor will be parse as span at the beginning of a paragraph --- test/command/textcolor.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test') 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 @@ -5,6 +5,13 @@ Hello \textcolor{red}{World} [Para [Str "Hello",Space,Span ("",[],[("style","color: red")]) [Str "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}} -- cgit v1.2.3