diff --git a/contrib/html.sh b/contrib/html.sh index 64c2ac44..0fca66ee 100755 --- a/contrib/html.sh +++ b/contrib/html.sh @@ -17,7 +17,7 @@ markdown -f toc,idanchor "${1}" | sed \ -e '//s|pre|pre class="code" onclick="CopyToClipboard(this)"|g' \ - -e '/\(notification\|screenshot\): .*/s|alt="\(.*\):|class="\1" alt="\1:|' \ + -e '/[a-z]\+: .*/s|alt="\([a-z]\+\):|class="\1" alt="\1:|' \ -e '/The above link may be broken on code hosting sites/s|blockquote|blockquote style="display: none;"|' sed \