Peter Hansen

Show:

What's happening?

  • Comment: HTML writer adds inappropriate whitespace

    My bad, the problem is in the Sphinx visit_abbreviation() routine, not in the docutils one. (I'm still in the "getting lost in the code" stage on these tools.) I can confirm that the implementation of visit_abbreviation() in docutils in fact correctly overrides the "suffix" arg to avoid the problem anyway. I'll report against Sphinx instead. Sorry to waste your time and thanks for the...

    2009-07-16 15:08:42 UTC in Docutils: Documentation Utilities

  • HTML writer adds inappropriate whitespace

    When using the abbr role with HTML output, a newline is inserted inappropriately in the "abbr" element after the text. An example where this produces incorrect output is "(:abbr:`TLA (Three Letter Acronym)`)". The output will show the abbreviation in parentheses with a leading space like "( TLA)" because of the newline that's added. Admittedly this is unusual, putting an abbreviation...

    2009-07-16 14:12:19 UTC in Docutils: Documentation Utilities

About Me

  • 2002-06-22 (7 years ago)
  • 567267
  • phansen (My Site)
  • Peter Hansen

Send me a message