Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
aidan-gibson opened this issue Mar 24, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@aidan-gibson
Copy link

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.

@jeffreytse jeffreytse self-assigned this Mar 24, 2022
@jeffreytse jeffreytse added the bug Something isn't working label Mar 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants