rundsk / dsk

DSK, short for “Design System Kit” – a workbench for collaboratively creating Design Systems
https://rundsk.com
Other
82 stars 8 forks source link

HTML character entities are displayed literally #120

Closed mariuswilms closed 3 years ago

mariuswilms commented 5 years ago

I'd like to insert a non-breaking space with &nbsp; but the character entity is displayed literally. I'm using the latest 1.3 development version. I've tried to work around that bug by using an invisible non breaking space, but that doesn't seem to take effect. I've inserted it on macOS using <option> + <space>

6mint commented 5 years ago

Seems to be an issue that this currently open PR should resolve: https://github.com/russross/blackfriday/pull/468

mariuswilms commented 5 years ago

@6mint Thanks for the research, do you know if it's possible to use "invisible" (Unicode) non breaking spaces as a workaround until the parser does support nbsp's as HTML entities?

6mint commented 5 years ago

Using the corresponding unicode character U+000A0 instead of &nbsp; can be used as a workaround indeed.

mariuswilms commented 3 years ago

The linked blackfriday PR was merged and the fix is in effect in v2.1.0, which is the version we're using since 2b5be1523c91130c62779163431e96e141f83124.