Details
-
Suggestion
-
Resolution: Done
-
P4: Low
-
None
-
None
-
2a70677b64e61d7b136e4fa3725be53258327b42
Description
There is a very simple 1 line change to support this. The code already deals with parsing the "none" tag and not drawing any bullets. I would suggest in "src/gui/text/qtexthtmlparser.cpp", in function "QTextHtmlParserNode::setListStyle" adding:
case QCss::Value_None: hasOwnListStyle = true; listStyle = QTextListFormat::ListStyleUndefined; break;
to the case statement. Then html code such as the example given below will function.
Thanks,
Paul
-------------------------
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=us-ascii">
<style type="text/css">
ul.none
</style>
</head>
<body>
<ul class="none">
<li>menu: <em>File->Export</em>
<li>Symbols, and diffs can be exported.
<li>This file might be very large!
</ul>
</body>
</html>