Skip to content

Commit

Permalink
Fix line breaks in syntax highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
philer committed Mar 25, 2022
1 parent 61cd769 commit 2dc4fd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/language/highlight.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type {LanguageSpecification, TokenType} from "./specification"
import {TokenType as tt} from "./specification"
import {tokenize} from "./tokenize"

const VISUAL_SPACE = \u200B" // \u200B = zero width space
const VISUAL_SPACE = <wbr>" // \u200B = zero width space

/**
* Map TokenTypes to css class names
Expand Down

0 comments on commit 2dc4fd5

Please sign in to comment.