]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - Documentation/sphinx/parse-headers.pl
doc-rst: parse-headers: remove trailing spaces
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Sat, 9 Jul 2016 12:35:34 +0000 (09:35 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sat, 9 Jul 2016 12:42:31 +0000 (09:42 -0300)
commitfb6fc6c9ac66fe5d4a50905fd7f2dd14cd9e7ab9
tree29c47a7a21563a6f4a3b818f6aa1a9c2c8642e5e
parent2dd4f70985558b1f9cf2a203dd23e3b9d5c4e597
doc-rst: parse-headers: remove trailing spaces

The function that replace references add a "\ " at the end of
references, to avoid the ReST markup parser to not identify
them as references. That works fine except for the end of lines,
as a sequence of { '\', ' ', '\n' } characters makes Sphinx
to ignore the end of line. So, strip those escape/spaces at the
end of lines.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Documentation/sphinx/parse-headers.pl