summaryrefslogtreecommitdiff
path: root/Documentation/sphinx/post_convert.sed
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/sphinx/post_convert.sed')
-rw-r--r--Documentation/sphinx/post_convert.sed10
1 files changed, 7 insertions, 3 deletions
diff --git a/Documentation/sphinx/post_convert.sed b/Documentation/sphinx/post_convert.sed
index ce17049f6a8e..392770bac53b 100644
--- a/Documentation/sphinx/post_convert.sed
+++ b/Documentation/sphinx/post_convert.sed
@@ -1,9 +1,13 @@
#
-# pandoc thinks that both "_" needs to be escaped. Remove the extra
-# backslashes. Also put in proper backquotes now that pandoc won't quote
-# them.
+# Unescape.
#
s/$bq/`/g
+s/$lt/</g
+s/$gt/>/g
+#
+# pandoc thinks that both "_" needs to be escaped. Remove the extra
+# backslashes.
+#
s/\\_/_/g
#
# Unwrap docproc directives.