HtmlToWmlConverter issue with nested list items
Home › Forums › Open-Xml-PowerTools › HtmlToWmlConverter issue with nested list items
This topic contains 1 reply, has 2 voices, and was last updated by JulOz 5 years, 8 months ago.
-
AuthorPosts
-
May 3, 2017 at 6:06 pm #4334
Eric:
We have come across a situation where nested list items do not convert properly from html to wml. The scenario is rather specific. Take the following html:
<p> <strong>13.03 Maternity Leave Without Pay</strong> </p> <ol class="lst-lwr-alph"> <li>An employee who becomes pregnant shall, upon request, be granted maternity leave without pay for a period beginning before, on or after the termination date of pregnancy and ending not later than eighteen (18) weeks after the termination date of pregnancy.</li> <li>Notwithstanding paragraph (a): <ol class="lst-lwr-rmn"><li>where the employee has not yet proceeded on maternity leave without pay and her newborn child is hospitalized,<br /> or</li><li>where the employee has proceeded on maternity leave without pay and then returns to work for all or part of the period during which her newborn child is hospitalized,</li></ol> the period of maternity leave without pay defined in paragraph (a) may be extended beyond the date falling eighteen (18) weeks after the date of termination of pregnancy by a period equal to that portion of the period of the child's hospitalization during which the employee was not on maternity leave, to a maximum of eighteen (18) weeks.</li> <li>The extension described in paragraph (b) shall end not later than fifty-two (52) weeks after the termination date of pregnancy.</li> <li>The Employer may require an employee to submit a medical certificate certifying pregnancy.</li> <li>An employee who has not started maternity leave without pay may elect to: <ol class="lst-lwr-rmn"><li>use earned vacation and compensatory leave credits up to and beyond the date that her pregnancy terminates;<br /> or</li><li>use her sick leave credits up to and beyond the date that her pregnancy terminates, subject to the sick leave with pay provisions set out in Article 12. For purposes of this subparagraph, the terms "illness" or "injury" used in Article 12, Sick Leave With Pay, shall include medical disability related to pregnancy.</li></ol></li> <li>An employee shall inform the Employer in writing of her plans to take leave with and without pay to cover her absence from work due to the pregnancy at least four (4) weeks in advance of the initial date of continuous leave of absence during which termination of pregnancy is expected to occur unless there is a valid reason why the notice cannot be given.</li> <li>Leave granted under this clause shall be counted for the calculation of "continuous employment" for calculating severance pay and "service" for calculating vacation leave. Time spent on such leave shall be counted for pay increment purposes.</li> </ol>
The first sublist in item b should have 2 items and then continue the text (starting with “the period of maternity leave without pay…” until the sentence “The extension described in…”.
Unfortunately when converted to word, the phrase “the period of maternity leave without pay…” becomes the third list item (item c) and thereby bumps the rest down as well.Hopefully this makes sense and you can give me some insight.
Thanks,
Garth
February 28, 2019 at 9:50 am #7838I bet you didn’t know how to write a reflection paper. This is why I brought this link https://samedaypaper.org/blog/reflection-paper for you.
-
AuthorPosts
You must be logged in to reply to this topic.