🚀 A Jekyll plugin to provide powerful supports for table, mathjax, plantuml, mermaid, emoji, video, audio, youtube, vimeo, dailymotion, soundcloud, spotify, etc.
MIT License
605
stars
63
forks
source link
Pages with non-latin filenames (ie 안녕하세요.md or 😫.md) will include unstrippable HTML if you excerpt a page with spaceship mathjax enabled #72
Let's say you have math.md and linktomath😫.md in /_posts. math.md has some mathjax content. linktomath😫.md uses the excerpt variable pointing at the math.md page. Within the excerpt, you will get <!DOCTYPE html PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN” “http://www.w3.org/TR/REC-html40/loose.dtd”>, even if you use strip_html. I also attempted to use remove to manually get rid of it; remove did not work.
Highly specific and low priority, I know. Just saw this and thought I'd point it out.
Let's say you have
math.md
andlinktomath😫.md
in/_posts
.math.md
has some mathjax content.linktomath😫.md
uses the excerpt variable pointing at themath.md
page. Within the excerpt, you will get<!DOCTYPE html PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN” “http://www.w3.org/TR/REC-html40/loose.dtd”>
, even if you use strip_html. I also attempted to use remove to manually get rid of it; remove did not work.Highly specific and low priority, I know. Just saw this and thought I'd point it out.