#41 html writer: construct <em> and <strong> w/ attributes

closed-accepted
None
5
2008-01-24
2008-01-24
No

This small patch modifies the HTML writer to output emphasis and strong nodes *with* attributes. So after defining

.. role:: cmd(strong)
.. role:: pg(emphasis)

the text

:cmd:`meaning-of-life`\ (:pg:`42`\ )

will be

<strong class="cmd">meaning-of-life</strong>(<em class="pg">42</em>)

and NOT just

<strong>meaning-of-life</strong>(<em>42</em>)

Discussion

  • David Goodger

    David Goodger - 2008-01-24

    Logged In: YES
    user_id=7733
    Originator: NO

    Applied patch in r5504.

    Thanks!

     
  • David Goodger

    David Goodger - 2008-01-24
    • assigned_to: nobody --> goodger
    • status: open --> closed-accepted
     

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

Sign up for the SourceForge newsletter:





No, thanks