fix: markdown footnotes id incorrectly stripped

This commit is contained in:
NGPixel 2020-05-02 15:13:58 -04:00
parent e48b816f60
commit c81ba5a503

View File

@ -10,11 +10,11 @@ module.exports = {
blockquote: ['class', 'id', 'style'], blockquote: ['class', 'id', 'style'],
code: ['class', 'style'], code: ['class', 'style'],
details: ['class', 'style'], details: ['class', 'style'],
defs: ['stroke', 'fill', 'stroke-width', 'transform'], defs: ['stroke', 'fill', 'stroke-width', 'transform', 'id'],
div: ['class', 'id', 'style'], div: ['class', 'id', 'style'],
em: ['class', 'style'], em: ['class', 'style'],
figcaption: ['class', 'style'], figcaption: ['class', 'style', 'id'],
figure: ['class', 'style'], figure: ['class', 'style', 'id'],
g: ['transform', 'stroke', 'stroke-width', 'fill'], g: ['transform', 'stroke', 'stroke-width', 'fill'],
h1: ['class', 'id', 'style'], h1: ['class', 'id', 'style'],
h2: ['class', 'id', 'style'], h2: ['class', 'id', 'style'],
@ -22,31 +22,31 @@ module.exports = {
h4: ['class', 'id', 'style'], h4: ['class', 'id', 'style'],
h5: ['class', 'id', 'style'], h5: ['class', 'id', 'style'],
h6: ['class', 'id', 'style'], h6: ['class', 'id', 'style'],
i: ['class', 'style'], i: ['class', 'id', 'style'],
img: ['alt', 'class', 'draggable', 'height', 'src', 'style', 'width'], img: ['alt', 'class', 'draggable', 'height', 'id', 'src', 'style', 'width'],
input: ['class', 'disabled', 'type', 'checked', 'id'], input: ['class', 'disabled', 'type', 'checked', 'id'],
kbd: ['class'], kbd: ['class'],
label: ['class', 'id', 'for'], label: ['class', 'id', 'for'],
li: ['class', 'style'], li: ['class', 'id', 'style'],
mark: ['class', 'style'], mark: ['class', 'style'],
ol: ['class', 'style', 'start'], ol: ['class', 'id', 'style', 'start'],
p: ['class', 'style'], p: ['class', 'id', 'style'],
path: ['d', 'style', 'id'], path: ['d', 'style', 'id'],
pre: ['class', 'style'], pre: ['class', 'id', 'style'],
section: ['class', 'style'], section: ['class', 'style'],
span: ['class', 'style', 'aria-hidden'], span: ['class', 'style', 'aria-hidden'],
strong: ['class', 'style'], strong: ['class', 'style'],
summary: ['class', 'style'], summary: ['class', 'id', 'style'],
svg: ['width', 'height', 'viewbox', 'preserveaspectratio', 'style'], svg: ['width', 'height', 'viewbox', 'preserveaspectratio', 'style'],
table: ['border', 'class', 'id', 'style', 'width'], table: ['border', 'class', 'id', 'style', 'width'],
tabset: [], tabset: [],
tbody: ['class', 'style'], tbody: ['class', 'style'],
td: ['align', 'class', 'colspan', 'rowspan', 'style', 'valign'], td: ['align', 'class', 'colspan', 'rowspan', 'style', 'valign', 'id'],
template: ['v-slot:tabs', 'v-slot:content'], template: ['v-slot:tabs', 'v-slot:content'],
th: ['align', 'class', 'colspan', 'rowspan', 'style', 'valign'], th: ['align', 'class', 'colspan', 'rowspan', 'style', 'valign', 'id'],
thead: ['class', 'style'], thead: ['class', 'style'],
tr: ['class', 'rowspan', 'style', 'align', 'valign'], tr: ['class', 'rowspan', 'style', 'align', 'valign', 'id'],
ul: ['class', 'style'], ul: ['class', 'id', 'style'],
use: ['href', 'transform'] use: ['href', 'transform']
}, },
css: false css: false