noatpad / typora-theme-ursine

A Typora theme, inspired by Bear
MIT License
715 stars 86 forks source link

Exported HTML Lists Won't Show as Bold #71

Open RABIDYOTE opened 3 years ago

RABIDYOTE commented 3 years ago

I exported a document I was working on to an HTML file because I was curious about how it looked. However, I noticed that any items that were in a list, numbered or bulleted, did not show up as bold when exported to HTML. I took a little peek at the HTML code in Notepad and did a few little tweaks, and turns out it's because the <strong> tag is placed outside of the <span> tag. I swapped them around and all of a sudden my lists are bold again in HTML!

I've checked to see if the issue comes from the fact I have a slightly modified version of the Ursine theme, but that doesn't seem to be causing the issue. I'm also unsure if this is an issue with the theme itself or Typora, but I feel like it may be caused by the theme itself; some of the other themes I've tested have this issue and others don't.

2021-04-26 00_46_11-test 2021-04-26 00_49_23-test html - Notepad