#258 ":figwidth: image" generates unitless width value

sandbox
closed-fixed
nobody
None
5
2014-11-10
2014-06-23
No

I give ":figwidth: image" option to figure directive,
but it generates incorrect CSS styles.
the width style does not have any units.

Input:

.. figure:: logo.jpg
   :figwidth: image

   caption

Output:

<div class="figure" style="width: 448">

Environment:
docutils-0.11
Google Chrome

Discussion

  • Günter Milde

    Günter Milde - 2014-06-24
    • status: open --> open-fixed
     
  • Günter Milde

    Günter Milde - 2014-06-24

    Fixed in the repository. Thanks for the report.

     
  • Günter Milde

    Günter Milde - 2014-11-10
    • status: open-fixed --> 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