#78 HTML writer creates paragraphs too eagerly

closed-fixed
None
5
2009-09-10
2007-02-21
No

Foo

:summary: foo bar__

__ http://fubar.org

The link doesn't really have any value as a paragraph, so it shouldn't cause the body of the summary field to get a <p>...</p> wrapper. Similar issues exist with all directives that don't create text, e.g.

:summary: foo |bar|

.. |bar| replace:: barre

This can be very inconvenient for automated use of docutils.

Discussion

  • Felix Wiemann

    Felix Wiemann - 2007-02-22
    • assigned_to: goodger --> fwiemann
     
  • Felix Wiemann

    Felix Wiemann - 2007-02-22

    Logged In: YES
    user_id=1374215
    Originator: NO

    I've attached a patch that fixes this. I'll write a test case later and then check everything in. Please let me know if there are any problems with the patch.
    File Added: paragraph_compacting.patch

     
  • Günter Milde

    Günter Milde - 2009-09-10

    Fixed in Release 0.3.7 (2004-12-24)

     
  • Günter Milde

    Günter Milde - 2009-09-10
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks