✨ Configure highlight.js to suppress HTML warnings with updated formatting
This commit is contained in:
@@ -11,7 +11,7 @@ import json from 'highlight.js/lib/languages/json';
|
|||||||
hljs.registerLanguage('json', json);
|
hljs.registerLanguage('json', json);
|
||||||
|
|
||||||
// Configure highlight.js to suppress HTML warnings (our content is safe/internal)
|
// Configure highlight.js to suppress HTML warnings (our content is safe/internal)
|
||||||
hljs.configure({
|
hljs.configure({
|
||||||
ignoreUnescapedHTML: true
|
ignoreUnescapedHTML: true
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user