Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ol balise rendered as ul #526

Open
frdescam opened this issue Sep 11, 2024 · 1 comment
Open

ol balise rendered as ul #526

frdescam opened this issue Sep 11, 2024 · 1 comment

Comments

@frdescam
Copy link

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report  
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please have a look to the support pages of our website : http://m2doc.org/support/

Current behavior

when giving this HTML :

<ol>
  <li><u>Ordered element</u>
    <ul>
      <li>Unordered element </li>
    </ul>
  </li>
  <li><u>Ordered element</u>
    <ol>
      <li><u>Ordered element</u>
    </ol>
  </li>
</ol>

to the fromHTMLBodyString() service, I get this output :

image

Expected behavior

The output should be something like :

image

Minimal reproduction of the problem with instructions

Steps to reproduce :

  • call fromHTMLBodyString() with the above HTML code as parameter

Environment


M2Doc version: 3.2.2
Eclipse version: 4.20.0
Platform version:   Windows 


@ylussaud
Copy link
Collaborator

Thank you for reporting this issue. I reproduce this behavior.

ylussaud added a commit that referenced this issue Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants