Kruptein / PlanarAlly

A companion tool for when you travel into the planes.
https://www.planarally.io/
MIT License
392 stars 71 forks source link

bug(Annotation): Fix markdown bold rendering in firefox #1276

Closed Kruptein closed 1 year ago

Kruptein commented 1 year ago

Firefox does not set the font-weight for the <strong> element. This is the element used by the markdown library to render bold text.

The combination of the above and a font-weight setting that PA applied a long time ago, made it so that bold markdown was not being rendered properly in firefox.

This fixes #1255.

This PR removes the global font-weight being set by the PA application. Another approach would be to set font-weight to bold for the strong element. I might have to revision this in the future, but this addresses the issue for now.