Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

un-escaped characters for markdown output #2334

Closed
tsagkase opened this issue Jul 28, 2015 · 4 comments
Closed

un-escaped characters for markdown output #2334

tsagkase opened this issue Jul 28, 2015 · 4 comments

Comments

@tsagkase
Copy link

Isn't the following a bug?

$ echo '<a href="http://example.com">][</a>' | pandoc -f html -t markdown
[][](http://example.com)
@jgm
Copy link
Owner

jgm commented Jul 28, 2015

The most recent version of pandoc gives this output:

[\]\[](http://example.com)

So I believe this has already been resolved.

+++ tsagkase [Jul 28 15 06:17 ]:

Isn't the following a bug?
$ echo '<a href="http://example.com">][</a>' | pandoc -f html -t markdown
[][](http://example.com)


Reply to this email directly or [1]view it on GitHub.

References

  1. un-escaped characters for markdown output #2334

@tsagkase
Copy link
Author

I should have stated I'm running version 1.12.4.2 on debian. I tried it out on Win 1.15.0.6 and it does work. However, on this latest version I get the same kind of problem for asciidoc

$ echo '<a href="http://example.com">][</a>' | pandoc -f html -t asciidoc
http://example.com[][]

Maybe I should rename the issue?

@tsagkase tsagkase changed the title un-escaped characters for markdown output un-escaped characters for asciidoc (was: markdown) output Jul 29, 2015
@jgm
Copy link
Owner

jgm commented Jul 29, 2015

Why don't you open a new issue for asciidoc?
Also, please link to the relevant escaping rules in asciidoc
documentation.

+++ tsagkase [Jul 29 15 01:20 ]:

I should have stated I'm running version 1.12.4.2 on debian. I tried it
out on Win 1.15.0.6 and it does work. However, on this latest version I
get the same kind of problem asciidoc.
$ echo '][' | pandoc -f html -t asciidoc
http://example.com[][]

Maybe I should rename the issue?


Reply to this email directly or [1]view it on GitHub.

References

  1. un-escaped characters for markdown output #2334 (comment)

@tsagkase tsagkase changed the title un-escaped characters for asciidoc (was: markdown) output un-escaped characters for markdown output Jul 30, 2015
@tsagkase
Copy link
Author

New issue #2337 created for asciidoc. Closing this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants