Issue #32 resolved

Disappearing paragraphs

Viliam Segeďa
created an issue

After saving text in WYMeditor or cleaning html, all paragraphs are removed. Is this a known issue or am I doing something wrong?

Comments (3)

  1. Luke Plant repo owner

    It's not happening for me, and I've never seen it happening. It's possible you've got some badly mangled input HTML that my cleaning routines are not handling. If you can isolate what the actual HTML is (normally using the editor view source button, or debug print statements in the Python view code), I can try to fix it.

  2. Viliam Segeďa reporter

    It happened with pretty much any text typed in. After some debugging I believe it's an issue of pyquery's p:empty selector ignoring text nodes. I have filed an issue for pyquery here:

    And here is how I fixed the issue in semanticeditor:

    Strange, you don't see that happening, though. What version of pyquery are you using?

  3. Log in to comment