fix(heading-link): remove <desc> from svg

otherwise the text ends up on toc
This commit is contained in:
curben 2019-08-12 12:51:11 +09:30
parent 756a86b58a
commit cbcb12b38a
No known key found for this signature in database
GPG Key ID: 5D9DB57A25D34EE3
1 changed files with 0 additions and 1 deletions

View File

@ -11,7 +11,6 @@ const cheerio = require('cheerio')
hexo.extend.filter.register('after_render:html', (str) => {
const $ = cheerio.load(str)
const svg = `<svg height="0.8em" viewBox="15 15 1635 1635">
<desc>Link icon</desc>
<use href="/svg/link.svg#link"/>
</svg>`