URL:
  <http://gna.org/bugs/?func=detailitem&item_id=5301>

                 Summary: extra <p> breaking xhtml
                 Project: Savane
            Submitted by: yeupou
            Submitted on: mercredi 15.02.2006 à 15:21
                Category: Web Frontend: Trackers
                Priority: C - Normal
                Severity: 3 - Normal
                  Status: Confirmed
                 Privacy: Public
             Assigned to: toddy
        Originator Email: 
             Open/Closed: Open
                 Release: SVN
         Planned Release: 

    _______________________________________________________

Details:

For some reasons, there are extra <p> added in comments

When then end up with things like

<a name="comment2" href="#comment2" class="preinput">mercredi 15.02.2006 at
14:14, comment #2:</a><p><p><br />
</p><p class="quote">&gt; adad da<br />
<br />
&gt; aaadad<br />
<br />
</p>
<p><br />
ada
</p></p>



Several <p><p>, </p></p>, all this being not valid XHTML.

I think utils_wiki_markup should add any <p>, this will cause too much
headaches. 
IMHO, utils_wiki_markup should be of safe usage: it should always provide
XHTML compliant code. And as such, it should not assume that it can or cannot
put <p> somewhere.
We must be able to write 
  print '<p>'.utils_wiki_markup($content).'</p>'; 
safely. 

Moreover, I think all comments and original submission should be in
"text-align: justify" and verbatim would just force an "text-align: left"
(I'll post another item for that).







    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?func=detailitem&item_id=5301>

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


_______________________________________________
Savane-dev mailing list
[email protected]
https://mail.gna.org/listinfo/savane-dev

Reply via email to