There is 1 update.
 
 
XWiki Platform / cid:jira-generated-image-avatar-69743ab4-f569-4b69-9922-e2f7c4909e85 XWIKI-3238 Open

Erroneous importing of office documents with lists begining with specified numbers

 
View issue   ยท   Add comment
 

1 update

 
cid:jira-generated-image-avatar-c3b2c8bb-1389-4508-b246-5d1c9c92c58b Changes by Vincent Massol on 20/Jul/26 10:33
 
Description: For some office documents (depending on how they have been authored) OO server generates ordered lists like below:

{noformat}
<ol start="4">
  <li> item1
    <ul>
      <li>sub item1</li>
    </ul>
  </li>
</ol>
{noformat}

There are two problems with this type of lists:

1. The 'start' attribute of the <ol> tag has been deprecated in xhtml and there is no inline css solution available to for this attribute as mentioned in http://www.w3schools.com/TAGS/att_ol_start.asp. The only possible solution involves an embedded css stylesheet which is hard to implement in default html cleaner http://www.arraystudio.com/as-workshop/make-ol-list-start-from-number-different-than-1-using-css.html

2. The attribute 'start' get's repeated into each nested <li> element because of
http://jira.xwiki.org/jira/browse/ XWIKI-3067

Although fixing XWIKI-3067 would solve this problem, we still have to decide what we are going to do about the 'start' tag because that is not valid.