diff options
Diffstat (limited to 'scripts/qapi/doc.py')
-rw-r--r-- | scripts/qapi/doc.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/qapi/doc.py b/scripts/qapi/doc.py index 92f584e..7764de1 100644 --- a/scripts/qapi/doc.py +++ b/scripts/qapi/doc.py @@ -79,6 +79,7 @@ def texi_format(doc): inlist = '' lastempty = False for line in doc.split('\n'): + line = line.strip() empty = line == '' # FIXME: Doing this in a single if / elif chain is |