]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb4ad737704696d63acc846e7c6b15a809fef19f3
tree29c47a7a21563a6f4a3b818f6aa1a9c2c8642e5e
parent73cf62ec31ca6c21dcc0f5bf123bf9f954157d50
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