gd2md-html icon indicating copy to clipboard operation
gd2md-html copied to clipboard

No closing tag li and the problem with nested lists

Open FJCrux opened this issue 4 years ago • 7 comments

Here is 2 problems:

  • Only last <li> have </li>
  • Nested list not in <li></li>

FJCrux avatar Apr 27 '20 17:04 FJCrux

I have the same issue, quick solution is paste in vscode an replace open tag with </li><li> and then replace <ul></li> with just <ul> and then replace all <li></ul> with </ul>. With ignoring white space.

Kainkainkain avatar Nov 05 '20 21:11 Kainkainkain

i have this issue as well. it is indeed easy to fix in a text editor, but it would be great to have it baked into the plugin!

pencerw avatar Jul 09 '21 18:07 pencerw

i'm guessing, but is the issue here? https://github.com/evbacher/gd2md-html/blob/9b2ded3d5366858caa722966ee415825e144d306/addon/gdc.gs#L1167

pencerw avatar Jul 09 '21 18:07 pencerw