mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
ui: fix #113
This commit is contained in:
1 parent
fa4b7b6f33
commit
3383f5529b
10 files changed
+35
-22
No files matched your search
@@ -35,7 +35,7 @@ class Markdown extends MarkdownIt {
|
||||
if (lang && Prism.languages[lang]) {
|
||||
try {
|
||||
return Prism.highlight(str, Prism.languages[lang], lang);
|
||||
} catch (__) { } // eslint-disable-line no-empty
|
||||
} catch (__) { }
|
||||
}
|
||||
return '';
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user