jekyll-spaceship icon indicating copy to clipboard operation
jekyll-spaceship copied to clipboard

Pages with non-latin filenames (ie 안녕하세요.md or 😫.md) will include unstrippable HTML if you excerpt a page with spaceship mathjax enabled

Open aidan-gibson opened this issue 2 years ago • 0 comments

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.

aidan-gibson avatar Mar 24 '22 02:03 aidan-gibson