summaryrefslogtreecommitdiff
path: root/contrib/mw-to-git/Git/Mediawiki.pm
diff options
context:
space:
mode:
authorLibravatar Martin Ågren <martin.agren@gmail.com>2018-11-28 20:02:09 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-11-29 15:44:15 +0900
commit4724f3177ab586e47ddc83926d59dbbdc4ab2f41 (patch)
treef23ab3ab86619f90c33cb6b7a0a94a0c1526a9ea /contrib/mw-to-git/Git/Mediawiki.pm
parentGit 2.19.2 (diff)
downloadtgif-4724f3177ab586e47ddc83926d59dbbdc4ab2f41.tar.xz
git-reset.txt: render tables correctly under Asciidoctor
Asciidoctor removes the indentation of each line in these tables, so the last lines of each table have a completely broken alignment. Similar to 379805051d ("Documentation: render revisions correctly under Asciidoctor", 2018-05-06), use an explicit literal block to indicate that we want to keep the leading whitespace in the tables. Because this gives us some extra indentation, we can remove the one that we have been carrying explicitly. That is, drop the first six spaces of indentation on each line. With Asciidoc (8.6.10), this results in identical rendering before and after this commit, both for git-reset.1 and git-reset.html. Reported-by: Paweł Samoraj <samoraj.pawel@gmail.com> Signed-off-by: Martin Ågren <martin.agren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/mw-to-git/Git/Mediawiki.pm')
0 files changed, 0 insertions, 0 deletions