aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2022-04-24 13:42:22 +0200
committerUlrich Müller <ulm@gentoo.org>2022-04-26 06:37:23 +0200
commita5bd4baa0047470e2be18ac6404347207562f0a4 (patch)
tree07937d04a2247fcf74d970ffdb6a5872a7930905
parenteclass-writing: doc inherit guards, EXPORT_FUNCTIONS warning (diff)
downloaddevmanual-a5bd4baa0047470e2be18ac6404347207562f0a4.tar.gz
devmanual-a5bd4baa0047470e2be18ac6404347207562f0a4.tar.bz2
devmanual-a5bd4baa0047470e2be18ac6404347207562f0a4.zip
bin/gen-eclass-html.sh: Don't show mailto links
man2html's heuristic for recognition of e-mail addresses is unreliable, therefore drop them all. Reported-by: Thomas Bracht Laumann Jespersen <t@laumann.xyz> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rwxr-xr-xbin/gen-eclass-html.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/gen-eclass-html.sh b/bin/gen-eclass-html.sh
index df759e0..6021c1e 100755
--- a/bin/gen-eclass-html.sh
+++ b/bin/gen-eclass-html.sh
@@ -149,6 +149,7 @@ for i in "${MANPAGES[@]}"; do
-e 's:<A HREF="\.\./man[^"]*">\([^<>]*\)</A>:\1:g' \
-e 's:<A HREF="[^"]*//localhost/[^"]*">\([^<>]*\)</A>:\1:g' \
-e 's:<A HREF="[^"]*\${[^"]*">\([^<>]*\)</A>:\1:g' \
+ -e 's,<A HREF="mailto:[^"]*">\([^<>]*\)</A>,\1,g' \
-e 's:<TT>\([^<>]*\)</TT>:\1:g' \
-e 's:<DL COMPACT>:<DL>:g' \
-e 's:<TR VALIGN=top>:<TR>:g' \