mirror of
https://github.com/directus/directus.git
synced 2026-02-11 04:45:34 -05:00
match <p></p> when replacing hint
This commit is contained in:
@@ -28,7 +28,7 @@ export default defineComponent({
|
||||
highlight: (code) => highlight.highlightAuto(code).value,
|
||||
});
|
||||
|
||||
const hintRegex = /:::(.*?) (.*?)\n((\s|.)*?):::/gm;
|
||||
const hintRegex = /<p>:::(.*?) (.*?)\n((\s|.)*?):::<\/p>/gm;
|
||||
|
||||
htmlString = htmlString.replaceAll(
|
||||
hintRegex,
|
||||
|
||||
Reference in New Issue
Block a user