Mercurial > public > mercurial-scm > hg-stable
diff tests/test-minirst.py @ 10983:287a5cdf7743
minirst: correctly format sections containing inline markup
Before, a section like
``foo``
-------
would be formatted as
"foo"
-------
We now recompute the length of the underline when formatting the
section.
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Sun, 25 Apr 2010 17:48:26 +0200 |
parents | f4778f942a4e |
children | 68b7d2d668ce |
line wrap: on
line diff
--- a/tests/test-minirst.py Sun Apr 25 17:38:41 2010 +0200 +++ b/tests/test-minirst.py Sun Apr 25 17:48:26 2010 +0200 @@ -186,5 +186,8 @@ sections = """ A Somewhat Wide Section Header ------------------------------ + +Markup: ``foo`` and :hg:`help` +------------------------------ """ debugformat('sections', sections, 20)