don't replace codeblock textContent with innerText in hljs

This commit is contained in:
LenAnderson 2024-05-08 11:03:05 -04:00
parent 4a70e68c22
commit 1ae08f49c5

View File

@ -423,8 +423,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;