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

Nesting different list types #70

Open
dannio opened this issue Jul 17, 2014 · 4 comments
Open

Nesting different list types #70

dannio opened this issue Jul 17, 2014 · 4 comments

Comments

@dannio
Copy link

dannio commented Jul 17, 2014

When you make a nested list (especially of another type) you must do:

<ul>
  <li>blah
    <ol>
      <li>blah</li>
    </ol>
  </li>
</ul>

Where right now it's producing:

<ul>
  <li>blah </li>
    <ol>
      <li>blah </li>
    </ol>
</ul>

This issue is causing my emails to all parse incorrectly when I using the 2 different types of lists together. Any way around this?

@pulges
Copy link
Contributor

pulges commented Aug 8, 2014

@dannio It seems I can not replicate this issue. Could you provide the browser, version and procedure for generating the buggy code?

@dannio
Copy link
Author

dannio commented Aug 8, 2014

It's when I create an "ul" list, then press the indent button and then change to "ol".

After I make a few "li" with the "ol" I change back to original indentation and keep typing.
On the editor itself it looks fine, but the html generated on submit and passed to the controller is incorrect.

Using Firefox31.0, using version from Nerian:
'bootstrap-wysihtml5-rails', github: 'Nerian/bootstrap-wysihtml5-rails'

@pulges
Copy link
Contributor

pulges commented Aug 8, 2014

I think the fork you are using is based on Waxolunist/bootstrap3-wysihtml5-bower , not this fork. Can you confirm the behaviour in this fork too?

@crazymykl
Copy link

I can confirm it in this fork.

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

3 participants