commit | fb6fc6c9ac66fe5d4a50905fd7f2dd14cd9e7ab9 | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Sat Jul 09 09:35:34 2016 -0300 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Sat Jul 09 09:42:31 2016 -0300 |
tree | 29c47a7a21563a6f4a3b818f6aa1a9c2c8642e5e | |
parent | 2dd4f70985558b1f9cf2a203dd23e3b9d5c4e597 [diff] |
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>