github-texify icon indicating copy to clipboard operation
github-texify copied to clipboard

TeXify emits improper HTML

Open leerho opened this issue 5 years ago • 3 comments

HTML parameters must be enclosed in quotes ("). If they are not Jekyll will consider the entire image html to be text and it will not render properly. For example:

What TeXify emits:

What it needs to be:

GitHub (I think) uses Jekyll to render pages and sites. Even if there were a configuration to change Jekyll behavior, I would have access to the GitHub version of it.

I can reproduce this failure on my on laptop with using Jekyll locally.

Please fix this :) :)

leerho avatar Oct 01 '19 19:10 leerho

Let me try this again but without the opening and closing brackets "<" and ">" so it won't try to render :)

What TeXify emits: <img src="/docs/Tuple/tex/4b83ab92144c8118c40653189ab60df5.svg?invert_in_darkmode&sanitize=true" align=middle width=81.54091274999998pt height=22.831056599999986pt/>

What it needs to be: <img src="/docs/Tuple/tex/4b83ab92144c8118c40653189ab60df5.svg?invert_in_darkmode&sanitize=true" align="middle" width="81.54091274999998pt" height="22.831056599999986pt"/&gt:

leerho avatar Oct 01 '19 19:10 leerho

I substituted < and >

leerho avatar Oct 01 '19 19:10 leerho

Same issue here. Please fix it, thanks!

MrKaiWu avatar Nov 09 '19 18:11 MrKaiWu