From aa59151c21c353923b3f003662f17f2210c63c57 Mon Sep 17 00:00:00 2001 From: Samuel Dionne-Riel Date: Thu, 31 May 2018 20:23:24 -0400 Subject: [PATCH] doc: Adds rule to xmlformat to help keep spacing right. The other definitions broke term, cmdsynopsis and arg tags; spaces inside were removed, making workdsrun-ininstead of keeping them spaced. --- nixos/doc/xmlformat.conf | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/nixos/doc/xmlformat.conf b/nixos/doc/xmlformat.conf index 50255857b24a..4a565c8465bc 100644 --- a/nixos/doc/xmlformat.conf +++ b/nixos/doc/xmlformat.conf @@ -67,6 +67,7 @@ programlisting screen entry-break = 0 exit-break = 0 - -#term -# format inline +# This is needed so that the spacing inside those tags is kept. +term cmdsynopsis arg + normalize yes + format block