aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexicon_filter.in
diff options
context:
space:
mode:
authorGravatar Kurtis Rader <krader@skepticism.us>2016-04-24 15:02:52 -0700
committerGravatar Kurtis Rader <krader@skepticism.us>2016-04-24 15:02:52 -0700
commitdcef1a55932db5ad4394eb6fbcb76d63d8ab520d (patch)
treecfcc93917fa055095523cefd0ed5fe42d0bab9ba /lexicon_filter.in
parent5df8fab4637865cc895bc698410efedc765dfd8c (diff)
more doxygen lexicon changes to eliminate errors
I noticed that Doxygen was also complaining about the "<asis>" and "<bs>" tags. So convert those to the backslash form like we did for "<outp>" in the previous commit.
Diffstat (limited to 'lexicon_filter.in')
-rw-r--r--lexicon_filter.in43
1 files changed, 10 insertions, 33 deletions
diff --git a/lexicon_filter.in b/lexicon_filter.in
index 13e8b6d7..b618a1b7 100644
--- a/lexicon_filter.in
+++ b/lexicon_filter.in
@@ -72,7 +72,16 @@
b html
}
# Preprocess specially recognized commands.
+ s/\\asis/@asis/g
+ s/\\bksl/@bksl/g
+ s/\\bold/@bold/g
+ s/\\emph/@emph/g
+ s/\\eror/@eror/g
+ s/\\mtch/@mtch/g
s/\\outp/@outp/g
+ s/\\sgst/@sgst/g
+ s/\\smtc/@smtc/g
+ s/\\undr/@undr/g
# Process the rest
b process
}
@@ -96,7 +105,7 @@ s|<b>|@bold{|
s|<b [^>]*>|@bold{|
s|</b>|}|
#.
-# Strong (synonimous with emphasis)
+# Strong (synonymous with emphasis)
s|<strong>|@bold{|
s|<strong [^>]*>|@bold{|
s|</strong>|}|
@@ -115,39 +124,7 @@ s|</i>|}|
s|<u>|@undr{|
s|<u [^>]*>|@undr{|
s|</u>|}|
-# Backslash (when escaping output)
-s|<bs>|@bksl{|
-s|</bs>|}|
-t html
#.
-# Some handy non-standard extensions
-# autoSuGgeSTion
-s|<s>|@sgst{|
-s|<s [^>]*>|@sgst{|
-s|</s>|}|
-#.
-# MaTCH
-s|<m>|@mtch{|
-s|<m [^>]*>|@mtch{|
-s|</m>|}|
-#.
-# SearchMaTCh
-s|<sm>|@smtc{|
-s|<sm [^>]*>|@smtc{|
-s|</sm>|}|
-#.
-# ERrOR
-s|<error>|@eror{|
-s|<error [^>]*>|@eror{|
-s|</error>|}|
-#.
-# AsIs - protect from auto-formatting
-s|<asis>|@asis{|
-s|</asis>|}|
-#.
-# OUTPut - protect from auto-formatting
-s|<outp>|@outp{|
-s|</outp>|}|
t html
#.
# Clean other unhandled html