KanoComputing / kano-code

πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»Kano Code
https://world.kano.me
GNU General Public License v2.0
16 stars 5 forks source link

fix: Whitespace breaks markdown content #1841

Closed pazdera closed 4 years ago

pazdera commented 4 years ago

When a markdown banner content starts with a that has whitespace prepended to it, marked interprets that as a code block and formats that instead of rendering HTML.

This should fix that.

Screenshot 2020-06-03 at 12 46 13
TeamKano commented 4 years ago
Coverage summary
Statements 29.4% 2003/6813
Branches 20.38% 212/1040
Functions 29.43% 651/2212
Lines 29.27% 1935/6610

From Jenkins: kano-code/PR-1841