diff options
author | 2022-04-24 13:42:22 +0200 | |
---|---|---|
committer | 2022-04-26 06:37:23 +0200 | |
commit | a5bd4baa0047470e2be18ac6404347207562f0a4 (patch) | |
tree | 07937d04a2247fcf74d970ffdb6a5872a7930905 /bin | |
parent | eclass-writing: doc inherit guards, EXPORT_FUNCTIONS warning (diff) | |
download | devmanual-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>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/gen-eclass-html.sh | 1 |
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' \ |