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

[asciidoc writer] ensure a blank line before a list #1860

Closed
tkruse opened this issue Jan 6, 2015 · 1 comment
Closed

[asciidoc writer] ensure a blank line before a list #1860

tkruse opened this issue Jan 6, 2015 · 1 comment

Comments

@tkruse
Copy link

tkruse commented Jan 6, 2015

Using pandoc 1.13.2

in html:

  <DIV>
    <SPAN>o</SPAN>
    <ul>
        <li>a</li>
        <li>b</li>
      </ul>
   </DIV>

yields asciidoc

o
* a
* b

missing blank line before items causes invalid asciidoc list. removing outer DIV fixed this. div and span are interchangeable to reproduce.

@tkruse
Copy link
Author

tkruse commented Jan 6, 2015

Similar, might be related:

<html>
<body>
<div>Foo<br></div>
<h2>Introduction</h2>
</body>
</html>

renders asciidoc:

Foo +
Introduction
~...[edited to work in github]

which misses a newline.

@jgm jgm changed the title nested span/div before list causes missing newline [asciidoc writer] ensure a blank line before a list Jan 7, 2015
@jgm jgm closed this as completed in 4510192 Mar 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants