Skip to content

Commit 8d54472

Browse files
committed
Fix prev fix
1 parent dbfec28 commit 8d54472

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/render_latex.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ let renderer = {
144144
code_inline(token) {
145145
if (noStarch)
146146
return `\\texttt{${escape(token.content)}}`
147-
else if (token.content.indexOf("`"))
147+
else if (token.content.indexOf("`") > -1)
148148
return `\\lstinline|${token.content}|`
149149
else
150150
return `\\lstinline\`${token.content}\``

0 commit comments

Comments
 (0)