Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wiki-js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
wiki-js
Commits
c81ba5a5
Commit
c81ba5a5
authored
May 02, 2020
by
NGPixel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: markdown footnotes id incorrectly stripped
parent
e48b816f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
renderer.js
server/modules/rendering/html-security/renderer.js
+14
-14
No files found.
server/modules/rendering/html-security/renderer.js
View file @
c81ba5a5
...
...
@@ -10,11 +10,11 @@ module.exports = {
blockquote
:
[
'class'
,
'id'
,
'style'
],
code
:
[
'class'
,
'style'
],
details
:
[
'class'
,
'style'
],
defs
:
[
'stroke'
,
'fill'
,
'stroke-width'
,
'transform'
],
defs
:
[
'stroke'
,
'fill'
,
'stroke-width'
,
'transform'
,
'id'
],
div
:
[
'class'
,
'id'
,
'style'
],
em
:
[
'class'
,
'style'
],
figcaption
:
[
'class'
,
'style'
],
figure
:
[
'class'
,
'style'
],
figcaption
:
[
'class'
,
'style'
,
'id'
],
figure
:
[
'class'
,
'style'
,
'id'
],
g
:
[
'transform'
,
'stroke'
,
'stroke-width'
,
'fill'
],
h1
:
[
'class'
,
'id'
,
'style'
],
h2
:
[
'class'
,
'id'
,
'style'
],
...
...
@@ -22,31 +22,31 @@ module.exports = {
h4
:
[
'class'
,
'id'
,
'style'
],
h5
:
[
'class'
,
'id'
,
'style'
],
h6
:
[
'class'
,
'id'
,
'style'
],
i
:
[
'class'
,
'style'
],
img
:
[
'alt'
,
'class'
,
'draggable'
,
'height'
,
'src'
,
'style'
,
'width'
],
i
:
[
'class'
,
'
id'
,
'
style'
],
img
:
[
'alt'
,
'class'
,
'draggable'
,
'height'
,
'
id'
,
'
src'
,
'style'
,
'width'
],
input
:
[
'class'
,
'disabled'
,
'type'
,
'checked'
,
'id'
],
kbd
:
[
'class'
],
label
:
[
'class'
,
'id'
,
'for'
],
li
:
[
'class'
,
'style'
],
li
:
[
'class'
,
'
id'
,
'
style'
],
mark
:
[
'class'
,
'style'
],
ol
:
[
'class'
,
'style'
,
'start'
],
p
:
[
'class'
,
'style'
],
ol
:
[
'class'
,
'
id'
,
'
style'
,
'start'
],
p
:
[
'class'
,
'
id'
,
'
style'
],
path
:
[
'd'
,
'style'
,
'id'
],
pre
:
[
'class'
,
'style'
],
pre
:
[
'class'
,
'
id'
,
'
style'
],
section
:
[
'class'
,
'style'
],
span
:
[
'class'
,
'style'
,
'aria-hidden'
],
strong
:
[
'class'
,
'style'
],
summary
:
[
'class'
,
'style'
],
summary
:
[
'class'
,
'
id'
,
'
style'
],
svg
:
[
'width'
,
'height'
,
'viewbox'
,
'preserveaspectratio'
,
'style'
],
table
:
[
'border'
,
'class'
,
'id'
,
'style'
,
'width'
],
tabset
:
[],
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'
],
th
:
[
'align'
,
'class'
,
'colspan'
,
'rowspan'
,
'style'
,
'valign'
],
th
:
[
'align'
,
'class'
,
'colspan'
,
'rowspan'
,
'style'
,
'valign'
,
'id'
],
thead
:
[
'class'
,
'style'
],
tr
:
[
'class'
,
'rowspan'
,
'style'
,
'align'
,
'valign'
],
ul
:
[
'class'
,
'style'
],
tr
:
[
'class'
,
'rowspan'
,
'style'
,
'align'
,
'valign'
,
'id'
],
ul
:
[
'class'
,
'
id'
,
'
style'
],
use
:
[
'href'
,
'transform'
]
},
css
:
false
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment