Merge pull request #2194 from LenAnderson/remove-hljs-innerText
don't replace codeblock textContent with innerText in hljs
This commit is contained in:
commit
f37e444791
|
@ -424,8 +424,6 @@ const characterContextMenu = new CharacterContextMenu(characterGroupOverlay);
|
|||
eventSource.on(event_types.CHARACTER_PAGE_LOADED, characterGroupOverlay.onPageLoad);
|
||||
console.debug('Character context menu initialized', characterContextMenu);
|
||||
|
||||
hljs.addPlugin({ 'before:highlightElement': ({ el }) => { el.textContent = el.innerText; } });
|
||||
|
||||
// Markdown converter
|
||||
export let mesForShowdownParse; //intended to be used as a context to compare showdown strings against
|
||||
let converter;
|
||||
|
|
Loading…
Reference in New Issue