mirror of
https://github.com/directus/directus.git
synced 2026-02-03 13:35:03 -05:00
Add workaround for vite auto-replacement in docs (#6284)
This commit is contained in:
committed by
GitHub
parent
f896e08a7c
commit
4f9ae6591e
@@ -102,7 +102,8 @@ export default defineComponent({
|
||||
|
||||
pageClass.value = attributes?.pageClass;
|
||||
|
||||
const htmlString = md.render(markdown);
|
||||
// Un-escape zero-width characters to allow breaking up character sequences automatically replaced by vite
|
||||
const htmlString = md.render(markdown).replaceAll('\\u200b', '\u200b');
|
||||
|
||||
html.value = htmlString;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user