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

There can't be > in katexmm

Open DolaBMOon opened this issue 6 years ago • 3 comments
trafficstars

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.

DolaBMOon avatar May 02 '19 06:05 DolaBMOon

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

linjer avatar May 22 '19 16:05 linjer

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

dlqqq avatar Jun 22 '20 20:06 dlqqq

The same bug occurred on my site too.

Is there any updates or solutions? @DolaBMOon

MqCreaple avatar Aug 19 '22 05:08 MqCreaple