[Bug 1573064] Re: Markdown cannot format certain lists

Gary R Hook 1573064 at bugs.launchpad.net
Thu May 11 20:07:04 UTC 2017


It appears the problem is the paragraph processing when paragraphs are
included within list items that contain nested lists.

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

Title:
  Markdown cannot format certain lists

Status in markdown package in Ubuntu:
  New

Bug description:
  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 at 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 at 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>

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



More information about the foundations-bugs mailing list