mirror of
				https://github.com/SillyTavern/SillyTavern.git
				synced 2025-06-05 21:59:27 +02:00 
			
		
		
		
	Merge pull request #2194 from LenAnderson/remove-hljs-innerText
don't replace codeblock textContent with innerText in hljs
This commit is contained in:
		@@ -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;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user