jeffreytse / jekyll-spaceship

🚀 A Jekyll plugin to provide powerful supports for table, mathjax, plantuml, mermaid, emoji, video, audio, youtube, vimeo, dailymotion, soundcloud, spotify, etc.
MIT License
606 stars 63 forks source link

TableProcessor not escaping special chars within code tags #27

Closed zedzedzed closed 3 years ago

zedzedzed commented 3 years ago

Hello

Just wanted to report an issue with the TableProcessor not automatically escaping special characters like angled brackets when within a table cell. By default, Kramdown should be escaping these specials chars as per [1].

Example markdown:

Not in table: `<Mail Gateway>`

In table:

Decision Point | Design Decision
--- | ---
Authoritative DNS MX Record | `<Mail Gateway>`

Output:

Screen Shot 2020-10-07 at 3 40 06 pm

Thanks Michael

[1] https://kramdown.gettalong.org/syntax.html#automatic-and-manual-escaping

jeffreytse commented 3 years ago

Hi @zedzedzed

Thanks for your good issue and help, now this bug has been fixed. And welcome to start this repository for more future updates. Also, 🎉 the latest gem version v0.9.3 has been released.

Thanks and regards

zedzedzed commented 3 years ago

Thanks for the amazingly quick turnaround @jeffreytse. The latest version has worked for < and >.