backslash-escaped characters in markdown input missing in HTML output #10833
Closed
johnoregan
started this conversation in
General
Replies: 5 comments 1 reply
-
What shell are you using? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Looks like Windows. My guess is that the |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi RNW,
I'm using the Command Shell (cmd.exe) on Windows 10.
Thanks!
John
… Message ID: ***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi John,
The backslash has no special meaning in cmd.exe. The caret is used to
escape special characters like less than, ampersand, and pipe.
I created a file called pdTest.txt containing:
~~~
\&\n\b\s\p\;
~~~
And executed this command:
~~~
pandoc --ascii -f markdown -t html pdTest.txt
~~~
The output was:
~~~
<p>&;</p>
~~~
Is this a bug?
Thanks!
John
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi John,
Thanks for the explanation. :)
John
… Message ID: ***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello All,
Can anyone tell me what's going on here?
Where have n, b, s, and p gone?
Thanks!
John
Beta Was this translation helpful? Give feedback.
All reactions