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

Does not render bulleted lists properly #135

Open
jmoronat opened this issue Nov 12, 2012 · 8 comments
Open

Does not render bulleted lists properly #135

jmoronat opened this issue Nov 12, 2012 · 8 comments
Labels

Comments

@jmoronat
Copy link

Steps made:

  • created a new note

Before

  • saved and closed it

  • started sync

  • reopened the note

    After

Using latest version from Launchpad PPA.

@prokher
Copy link

prokher commented Nov 29, 2012

Confirm. The same for me :( Annoying one, I like bullets ;)

@giacecco
Copy link

+1. I've also noted that the bullet points structure gets corrupted as soon as the note is visualised, e.g. if it was originally edited using the web version of Evernote. There is no need to edit or saving to break the bullet point list.

@wizcas
Copy link

wizcas commented Dec 5, 2012

+1

1 similar comment
@gauravjn
Copy link

+1

@maltanar
Copy link

+1, I'd like to try to tackle this if anyone made any investigations into this before?

@mjs2020
Copy link

mjs2020 commented Mar 4, 2013

+1

@ageekymonk
Copy link

When such a note is created, the generated html is

<ul></ul>
<ul>
<li>note1<br /></li>
<ul><li>   note1-1  </li><li>   note1-2</li></ul>
<li>note2</li>
<li>note3</li>
<ul><li>note3-1</li><li>note3-2</li></ul>
<li>note4</li>
</ul>

The Evernote is not able to parse this. If we create the same using evernote web client, the generated html is

<ul></ul>
<ul>
<li>note1<br />
     <ul><li>   note1-1  </li><li>   note1-2</li></ul>
</li>
<li>note2</li>
<li>note3
    <ul><li>note3-1</li><li>note3-2</li></ul>
</li>
<li>note4</li>
</ul>

From the above html, i observe that
In case of unordered list within an unordered list, the sublist should be within the

  • tag. If not, evernote will not be able to parse and display rightly. So it sends back the its own "corrected" version.

    @berzjackson
    Copy link
    Contributor

    @ageekymonk
    Glad to see someone else who is also looking into this.

    From what I've observed, Evernote sometimes use "list-style-type:none" to suppress the leading marker. Locating the anchor node is another nasty problem that involves a lot of subtlety. I feel that this whole list thing is poorly defined in HTML.

    What you have observed is absolutely correct and account for the major source of bug in Everpad. However, the real issue is actually much more complicated I'm afraid. Even the native client still got a lot of bugs on bulleted lists.

    See these discussions on the Everntoe forum:
    http://discussion.evernote.com/topic/23701-bullet-points-never-seem-to-work-as-expected/

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Projects
    None yet
    Development

    No branches or pull requests

    9 participants