Public bug reported:

Ran this under markdown, kubuntu 15.10, markdown version 1.0.1 as
standard.

The attached markdown file leads to corrupt HTML ("markdown bad.md >
bad.html"). Take a look at the html file produced; towards the end
several lines are missed and a large hex string is placed there instead.

Happens with more complex files too. I cut them down as much as possible
to get to a trivial reproducible scenario.

Since I cannot upload the HTML file, here is what I found.

plw@ubuntu-VirtualBox:~/Dropbox/Work documents$ cat bad.md 
# Further notes

## Thing 1

- There are three options.

    - Option 1

    - Option 2

    - Option 3

  Need to cover all of these fairly convincingly.

## Thing 2

A sentence here.

- Option 1

    - Sub bullet A

    A sentence here.

    Another sentence here.

plw@ubuntu-VirtualBox:~/Dropbox/Work documents$ cat bad.html 
<h1>Further notes</h1>

<h2>Thing 1</h2>

<ul>
<li><p>There are three options.</p>

<ul>
<li><p>Option 1</p></li>
<li><p>Option 2</p></li>
<li><p>Option 3</p></li>
</ul>

<p>Need to cover all of these fairly convincingly.</p></li>
</ul>
<h2>Thing 2</h2>

A sentence here.


cccc094aa32e49d4513143832552cfc1


<p>A sentence here.</p>

<p><p>Another sentence here.</p></li>
</ul></p>

** Affects: markdown (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "Markdown file"
   https://bugs.launchpad.net/bugs/1573064/+attachment/4641491/+files/bad.md

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1573064

Title:
  Markdown cannot format certain lists

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/markdown/+bug/1573064/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to