- Handle yet another variant of numbered anchor in html file

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=230
This commit is contained in:
Olaf Hering 2016-12-14 09:06:25 +00:00 committed by Git OBS Bridge
parent 26135823bb
commit d5daa2fe20
3 changed files with 5 additions and 2 deletions

View File

@ -2,6 +2,7 @@
Wed Dec 14 08:44:11 UTC 2016 - olaf@aepfle.de Wed Dec 14 08:44:11 UTC 2016 - olaf@aepfle.de
- Remove warning about python mtime mismatch, a republish will not help - Remove warning about python mtime mismatch, a republish will not help
- Handle yet another variant of numbered anchor in html file
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Nov 9 06:48:22 UTC 2016 - olaf@aepfle.de Wed Nov 9 06:48:22 UTC 2016 - olaf@aepfle.de

View File

@ -21,7 +21,7 @@ Summary: Build Result Compare Script
License: GPL-2.0+ License: GPL-2.0+
Group: Development/Tools/Building Group: Development/Tools/Building
Url: https://github.com/openSUSE/build-compare Url: https://github.com/openSUSE/build-compare
Version: 20161214T094424.afc1c75 Version: 20161214T095953.e1115b2
Release: 0 Release: 0
Source1: COPYING Source1: COPYING
Source2: same-build-result.sh Source2: same-build-result.sh

View File

@ -249,6 +249,7 @@ strip_numbered_anchors()
# <a href="#ftn.id32751" class="footnote" id="id32751"> # <a href="#ftn.id32751" class="footnote" id="id32751">
# <a href="#id32751" class="para"> # <a href="#id32751" class="para">
# <a href="#tex">1 TeX</a> # <a href="#tex">1 TeX</a>
# <a href="dh-manual.html#id599116">
# <a id="id479058"> # <a id="id479058">
# <div id="ftn.id43927" class="footnote"> # <div id="ftn.id43927" class="footnote">
# <div class="section" id="id46"> # <div class="section" id="id46">
@ -261,7 +262,8 @@ strip_numbered_anchors()
s@\(<a[^>]\+id=\n\?"\)\(id[a-z0-9]\+\)\("[^>]*>\)@\1a_idN\3@g s@\(<a[^>]\+id=\n\?"\)\(id[a-z0-9]\+\)\("[^>]*>\)@\1a_idN\3@g
s@\(<a[^>]\+name=\n\?"\)\(id[a-z0-9]\+\)\("[^>]*>\)@\1a_nameN\3@g s@\(<a[^>]\+name=\n\?"\)\(id[a-z0-9]\+\)\("[^>]*>\)@\1a_nameN\3@g
s@\(<a[^>]\+href="#\)\([^"]\+\)\("[^>]*>\)@\1href_anchor\3@g s@\(<a[^>]\+href="#\)\([^"]\+\)\("[^>]*>\)@\1href_anchor\3@g
s@\(<div[^>]\+id="\)\([a-z0-9]\+\)\("[^>]*>\)@\1div_idN\3@g s@\(<a[^>]\+href="[^#]\+#\)\([^"]\+\)\("[^>]*>\)@\1href_anchor\3@g
s@\(<div[^>]\+id="\)\([\.a-z0-9]\+\)\("[^>]*>\)@\1div_idN\3@g
} }
N N
b N b N