Support kbd tag

This commit is contained in:
Cheng-Han, Wu 2016-02-22 22:42:40 +08:00
parent 175f571a36
commit c509abbc39
3 changed files with 16 additions and 2 deletions

View File

@ -315,6 +315,20 @@
border-top: 0;
}
.markdown-body kbd {
display: inline-block;
padding: 3px 5px;
font-size: 11px;
line-height: 10px;
color: #555;
vertical-align: middle;
background-color: #fcfcfc;
border: solid 1px #ccc;
border-bottom-color: #bbb;
border-radius: 3px;
box-shadow: inset 0 -1px 0 #bbb
}
.news .alert .markdown-body blockquote {
padding: 0 0 0 40px;
border: 0 none;

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
var whiteListTag = ['style', '!--'];
var whiteListTag = ['style', '!--', 'kbd'];
var whiteListAttr = ['id', 'class', 'style'];
var filterXSSOptions = {