doc-rst: parse-headers: don't do substituition references
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 7 Jul 2016 16:04:01 +0000 (13:04 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 7 Jul 2016 18:13:17 +0000 (15:13 -0300)
Add one extra escape character to avoid those warnings:
Documentation/linux_tv/videodev2.h.rst:6: WARNING: Inline substitution_reference start-string without end-string.

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

index 16ea28b0d2e19978f9c0f5a5d6ecea9faa429829..0a3703bef5eb6687c69fddbd57339c57ddcd7948 100755 (executable)
@@ -220,7 +220,7 @@ $data =~ s/\n\s+\n/\n\n/g;
 #
 # Add escape codes for special characters
 #
-$data =~ s,([\_\`\*\<\>\&\\\\:\/]),\\$1,g;
+$data =~ s,([\_\`\*\<\>\&\\\\:\/\|]),\\$1,g;
 
 $data =~ s,DEPRECATED,**DEPRECATED**,g;
 
This page took 0.041254 seconds and 5 git commands to generate.