diff --git a/html_resources/code-block/code-block-highlighter.js b/html_resources/code-block/code-block-highlighter.js
index c5511ef..4bad9cd 100644
--- a/html_resources/code-block/code-block-highlighter.js
+++ b/html_resources/code-block/code-block-highlighter.js
@@ -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);