File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -15,3 +15,4 @@ examples-temp
1515node_modules
1616pnpm-global
1717TODOs.md
18+ * .timestamp- * .mjs
Original file line number Diff line number Diff line change @@ -206,6 +206,11 @@ export const createMarkdownRenderer = async (
206206
207207 md . linkify . set ( { fuzzyLink : false } )
208208
209+ // disable entity decode/escape from markdown-it, as the Vue compiler already
210+ // decodes them.
211+ md . disable ( 'entity' )
212+ md . renderer . rules . text = ( tokens , idx ) => tokens [ idx ] . content
213+
209214 if ( options . preConfig ) {
210215 options . preConfig ( md )
211216 }
@@ -292,10 +297,5 @@ export const createMarkdownRenderer = async (
292297 options . config ( md )
293298 }
294299
295- // disable entity decode/escape from markdown-it, as the Vue compiler already
296- // decodes them.
297- md . disable ( 'entity' )
298- md . renderer . rules . text = ( tokens , idx ) => tokens [ idx ] . content
299-
300300 return md
301301}
You can’t perform that action at this time.
0 commit comments