Fix typo in code-block hightlighter AtValue parsing
This commit is contained in:
parent
c50e5df3e3
commit
711e1aa840
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ class CSSHighlighter extends BaseHighlighter{
|
|||
let idxOffset = 0;
|
||||
switch(character){
|
||||
case ";":
|
||||
indexOffset = 1;
|
||||
idxOffset = 1;
|
||||
case "{":
|
||||
state.token = chars.slice(tokenStart,pointer + idxOffset).join("");
|
||||
CSSHighlighter.createElementFromToken(state,CSSHighlighter.State.AtValue,targetNode);
|
||||
|
|
Loading…
Reference in a new issue