We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7679fd0 commit ab33e2eCopy full SHA for ab33e2e
site/src/Code/Code.tsx
@@ -58,7 +58,7 @@ export default ({
58
59
const errorNodes: Array<Element> = [];
60
for (const span of Array.from(spans)) {
61
- if (span.innerHTML && errorTokens.includes(span.innerHTML)) {
+ if (span.innerHTML && errorTokens.includes(span.innerHTML.trim())) {
62
span.classList.add(styles.errorUnderline);
63
errorNodes.push(span);
64
}
0 commit comments