Only use monospace fonts in diff table if so specified

This commit is contained in:
Lance Edgar 2017-08-07 23:22:47 -05:00
parent 2714d3c03c
commit 3fcc105b78
3 changed files with 5 additions and 4 deletions

View file

@ -1,5 +1,5 @@
## -*- coding: utf-8; -*-
<table class="diff">
<table class="diff${' monospace' if diff.monospace else ''}">
<thead>
<tr>
% for column in diff.columns: