1 parent dbfec28 commit 8d54472Copy full SHA for 8d54472
1 file changed
src/render_latex.mjs
@@ -144,7 +144,7 @@ let renderer = {
144
code_inline(token) {
145
if (noStarch)
146
return `\\texttt{${escape(token.content)}}`
147
- else if (token.content.indexOf("`"))
+ else if (token.content.indexOf("`") > -1)
148
return `\\lstinline|${token.content}|`
149
else
150
return `\\lstinline\`${token.content}\``
0 commit comments