Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0-alpha-6
-
Fix Version/s: 1.0-alpha-8
-
Component/s: None
-
Labels:None
-
Environment:osx 10.4.4 java 1.4.2_09
-
Number of attachments :
Description
Ordered lists are supposed to be available as [[1]], [[a]], [[A]], [[i]], [[I]], but they all give numbers (ie the first option).
There are two ways to fix this bug. The css way, and the html way. I chose the html way.
This patch simply observes the type of numbering demanded by the apt list ([[i]] for example), and writes the corresponding 'type' attribute on the ordered list.
<ol type="i">
The css way would be to write a class attribute instead, and then add corresponding styles in maven-base.css (or whichever stylesheet is the correct one). We could also do an inline style:
<ol style="list-style: lower-roman">
Both CSS solutions are much more flexible, but it looked like the XhtmlSink was designed to use the predefined html types, hence this quick solution.