79a3449eeb
the token string is modified by a parser (e.g. accent when it only takes part of a Word token). Closes #5686. Still not ideal, because we get the whole `\t0BAR` and not just `\t0` as a raw latex inline command. But I'm willing to let this be an edge case, since you can easily work around this by inserting a space, braces, or raw attribute. The important thing is that we no longer drop the rest of the document after a raw latex inline command that gobbles only part of a Word token!
9 lines
311 B
Markdown
9 lines
311 B
Markdown
```
|
|
% pandoc -t native
|
|
FOO\t0BAR
|
|
|
|
This part does not make it to the html output.
|
|
^D
|
|
[Para [Str "FOO",RawInline (Format "tex") "\\t0BAR"]
|
|
,Para [Str "This",Space,Str "part",Space,Str "does",Space,Str "not",Space,Str "make",Space,Str "it",Space,Str "to",Space,Str "the",Space,Str "html",Space,Str "output."]]
|
|
```
|