add more html5 tags, fixes #1444

This commit is contained in:
j 2013-08-27 08:52:22 +00:00
parent 7693079b8c
commit 0c76680864
2 changed files with 6 additions and 3 deletions

View file

@ -33,6 +33,9 @@ div, input, textarea {
font-family: Lucida Grande, Segoe UI, DejaVu Sans, Lucida Sans Unicode, Helvetica, Arial, sans-serif;
font-size: 11px;
}
figure {
text-align: center;
}
h1, h2, h3, h4, h5, h6 {
margin: 0;
font-size: 16px;

View file

@ -4,15 +4,15 @@
var defaultTags = [
// inline formatting
'b', 'code', 'em', 'i', 's', 'strong', 'sub', 'sup', 'u',
'b', 'bdi', 'code', 'em', 'i', 'q', 's', 'span', 'strong', 'sub', 'sup', 'u',
// block formatting
'blockquote', 'h1', 'h2', 'h3', 'p', 'pre',
'blockquote', 'cite', 'div', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'p', 'pre',
// lists
'li', 'ol', 'ul',
// tables
'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'tr',
// other
'a', 'br', 'img',
'a', 'br', 'img', 'figure', 'figcaption',
// special
'rtl', '[]'
],