diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-08-16 18:25:41 +0200 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2016-08-19 00:42:07 +0200 |
commit | 999d998eee3dc1a4942b56f178be363844ea3729 (patch) | |
tree | 96828a326873211788e9d66828cdc3f116f8b2c7 /Documentation/sphinx | |
parent | docs-rst: better adjust margins and font size (diff) | |
download | linux-999d998eee3dc1a4942b56f178be363844ea3729.tar.xz linux-999d998eee3dc1a4942b56f178be363844ea3729.zip |
docs-rst: parse-heraders.pl: escape LaTeX characters
Let's escape the LaTeX characters, to avoid troubles when
outputing them.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/sphinx')
-rwxr-xr-x | Documentation/sphinx/parse-headers.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/sphinx/parse-headers.pl b/Documentation/sphinx/parse-headers.pl index 34bd9e2630b0..74089b0da798 100755 --- a/Documentation/sphinx/parse-headers.pl +++ b/Documentation/sphinx/parse-headers.pl @@ -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; |