Closed dixyes closed 6 years ago
after_render filter is called, but failed to append script tags due to html_minifier filtered “dplayer used” mark
to fix: in code:
//for hexo-all-minify: if (hexo.config.html_minifier) hexo.config.html_minifier.ignoreCustomComments.push(/^\s*dplayer used1/);
so bad... mark-replace mode to append dplayer script may be not a good idea, but only this can be used in hexo to avoid multiple appending (#1)
after_render filter is called, but failed to append script tags due to html_minifier filtered “dplayer used” mark
to fix: in code:
so bad... mark-replace mode to append dplayer script may be not a good idea, but only this can be used in hexo to avoid multiple appending (#1)