linjer / jekyll-katex

[DEPRECATED] Jekyll plugin for easy server-side math rendering via KaTeX
MIT License
96 stars 8 forks source link

There can't be > in katexmm #19

Open DolaBMOon opened 5 years ago

DolaBMOon commented 5 years ago

There's one line in my blog:

$a > b$

Then I run:

$ jekyll b

Liquid Exception: ParseError: KaTeX parse error: Expected 'EOF', got '&' at position 4: a &̲gt; b in /_layouts/post.html

But if it's $$ a > b $$ Ok then.

linjer commented 5 years ago

Thanks @DolaBMOon for the report! Can you confirm what version of jekyll-katex, ruby, and OS are you using?

dlqqq commented 4 years ago

I am unable to reproduce this error. Inline math with the '>' renders properly on my machine. This issue should probably be closed because it is stale and no longer reproducible.

Ruby version: ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-linux]
OS: Arch Linux
jekyll-katex version: 1.0.0
MqCreaple commented 2 years ago

The same bug occurred on my site too.

Is there any updates or solutions? @DolaBMOon