# HG changeset patch # User Martin Geisler # Date 2011-06-14 14:38:34 # Node ID 4aef71839337c5548eba07f6e76d9b002d31ad70 # Parent bd1acea552ff2e79f62273625f6ee5f44a60b9cd paper/coal: use fixed width for diffstat +/- link The plus and minus characters are normally not the same width in a non-monospace font, and this made the line length change when the diffstat display was toggled. The square brackets are not rendered in a monospace font to ensure that they align with the parenthesis on the same line. diff --git a/mercurial/templates/paper/changeset.tmpl b/mercurial/templates/paper/changeset.tmpl --- a/mercurial/templates/paper/changeset.tmpl +++ b/mercurial/templates/paper/changeset.tmpl @@ -66,9 +66,9 @@ files, or words in the commit messagediffstat {diffsummary} - [+] + [+] diff --git a/tests/test-hgweb-commands.t b/tests/test-hgweb-commands.t --- a/tests/test-hgweb-commands.t +++ b/tests/test-hgweb-commands.t @@ -357,9 +357,9 @@ Logs and changes 2 files changed, 2 insertions(+), 0 deletions(-) - [+] + [+]