gitweb: preserve whitespace in description
Without this, multiple spaces or tabs in the commit message aren't preserved and things like tables don't align properly. As part of adding the CSS rule, we had to cuddle the content with the <div> to not introduce leading and trailing whitespace. The "addbreaks" filter was also removed because it would insert an additional newline, effectively double spacing content. Differential Revision: https://phab.mercurial-scm.org/D113
Showing
- mercurial/templates/gitweb/changelogentry.tmpl 2 additions, 4 deletionsmercurial/templates/gitweb/changelogentry.tmpl
- mercurial/templates/gitweb/changeset.tmpl 1 addition, 3 deletionsmercurial/templates/gitweb/changeset.tmpl
- mercurial/templates/gitweb/fileannotate.tmpl 1 addition, 3 deletionsmercurial/templates/gitweb/fileannotate.tmpl
- mercurial/templates/gitweb/filerevision.tmpl 1 addition, 3 deletionsmercurial/templates/gitweb/filerevision.tmpl
- mercurial/templates/static/style-gitweb.css 1 addition, 0 deletionsmercurial/templates/static/style-gitweb.css
- tests/test-hgweb.t 2 additions, 1 deletiontests/test-hgweb.t
Loading
Please register or sign in to comment