mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 06:03:34 +01:00
add list-style:none for ul.indents in exported HTML (#4586)
* add list-style:none for ul.indents in exported HTML * use list-style-type not list-style
This commit is contained in:
parent
b82bf5c726
commit
a637920e55
2 changed files with 11 additions and 0 deletions
|
@ -31,6 +31,11 @@ ol ol > li:before {
|
|||
content: counters(item, ".") ". ";
|
||||
margin-left: -20px;
|
||||
}
|
||||
|
||||
ul.indent {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
<%- extraCSS %>
|
||||
</style>
|
||||
</head>
|
||||
|
|
|
@ -62,6 +62,12 @@ const testImports = {
|
|||
expectedHTML: '<!DOCTYPE HTML><html><body>empty<br><br></body></html>',
|
||||
expectedText: 'empty\n\n',
|
||||
},
|
||||
'indentedListsAreNotBullets': {
|
||||
description: 'Indented lists are represented with tabs and without bullets',
|
||||
input: '<html><body><ul class="indent"><li>indent</li><li>indent</ul></body></html>',
|
||||
expectedHTML: '<!DOCTYPE HTML><html><body><ul class="indent"><li>indent</li><li>indent</ul><br></body></html>',
|
||||
expectedText: '\tindent\n\tindent\n\n'
|
||||
}
|
||||
};
|
||||
|
||||
describe(__filename, function () {
|
||||
|
|
Loading…
Reference in a new issue