This commit is contained in:
albert
2013-03-08 16:07:20 -05:00
parent 1a03f49adc
commit 9af2826098
2 changed files with 5 additions and 1 deletions

View File

@@ -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;

View File

@@ -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),