fixes #800
This commit is contained in:
@@ -14,6 +14,10 @@ div#note-container {
|
||||
z-index: 1500;
|
||||
overflow: auto;
|
||||
|
||||
h1, h2, h3, h4, h5, h6, a, span, div, blockquote, br, p, ul, li, ol, em, strong, small, big, b, i, font, u, s {
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
p.tn {
|
||||
font-size: 0.8em;
|
||||
color: gray;
|
||||
|
||||
@@ -194,7 +194,7 @@ class DText
|
||||
|
||||
Sanitize.clean(
|
||||
text,
|
||||
:elements => %w(code center tn h1 h2 h3 h4 h5 h6 a span div blockquote br p ul li ol em strong small big b i font),
|
||||
:elements => %w(code center tn h1 h2 h3 h4 h5 h6 a span div blockquote br p ul li ol em strong small big b i font u s),
|
||||
:attributes => {
|
||||
"a" => %w(href title style),
|
||||
"span" => %w(class style),
|
||||
|
||||
Reference in New Issue
Block a user