File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,6 @@ function Highlighter(options = hhDefaultOptions) {
104104 top: 0;
105105 left: 0;
106106 width: 100%;
107- height: 100%;
108107 overflow: visible;
109108 z-index: -1;
110109 }
@@ -410,7 +409,7 @@ function Highlighter(options = hhDefaultOptions) {
410409 // Set variables that depend on the range
411410 const temporaryHtmlElement = document . createElement ( 'div' ) ;
412411 temporaryHtmlElement . appendChild ( highlightRange . cloneContents ( ) ) ;
413- for ( const element of temporaryHtmlElement . querySelectorAll ( `a, [data-highlight-id]:not([data-highlight-id=${ highlightId } ])` ) ) element . outerHTML = element . innerHTML ;
412+ for ( const element of temporaryHtmlElement . querySelectorAll ( `a, [data-highlight-id]:not([data-highlight-id=" ${ highlightId } " ])` ) ) element . outerHTML = element . innerHTML ;
414413 rangeText = highlightRange . toString ( ) ;
415414 rangeHtml = temporaryHtmlElement . innerHTML ;
416415 let startParagraphIndex = annotatableParagraphIds . indexOf ( startParagraphId ) ;
You can’t perform that action at this time.
0 commit comments