Skip to content

Commit b1b63a1

Browse files
committed
Fix an error for invalid TeX
1 parent 79160fb commit b1b63a1

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

lib/html/pipeline/svgtex.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,6 @@ def call
8989
rsp = session.post(context[:svgtex_url], :q => eqn)
9090
if rsp.status == 200
9191
node.replace "<img style='display: inline; max-height: 1em;' class='mathjax' src='data:image/svg+xml;base64,#{Base64.encode64 rsp.body}' alt='#{CGI.escape_html eqn}' />"
92-
else
93-
node.inner_text = eqn
9492
end
9593
end
9694
doc

0 commit comments

Comments
 (0)