Skip to content

[asciidoc writer] html code style writes bad asciidoc block #1861

Closed
tkruse opened this Issue · 1 comment

3 participants

@tkruse

Using pandoc 1.13.2:

HTML

<html lang="en">
<body>
<PRE class="badcode">No</PRE>
</body>
</html>

yields asciidoc:

code,badcode-- code,badcode
No
--

Note I am not sure what actually should happen with the 'badcode' class here, but this does not come out right.

@jgm jgm changed the title from html code style writes bad asciidoc block to [asciidoc writer] html code style writes bad asciidoc block
@mnencia

It happens the same from other sources

Markdown:

``` sh
ls -l
```

Asciidoc:

code,sh----------- code,sh
ls -l
-----------
@tnguyen-rh tnguyen-rh referenced this issue in haskell/haskell-mode
Merged

Fix markup typo in README.md #999

@jgm jgm added a commit that closed this issue
@jgm AsciiDoc writer: Fixed code blocks.
Closes #1861.
b20ecbe
@jgm jgm closed this in b20ecbe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.