summaryrefslogtreecommitdiffhomepage
path: root/build
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-06-03 01:29:22 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-06-03 01:29:22 +0200
commitc7bc23b244508553fe49a07a2ed0c57cce0e4cb0 (patch)
tree534b1ceb0888783d10daa6e0db343f241654ce96 /build
parent5c940575cacc07f3402177fd404d535a935fe2fb (diff)
Clean up HTML in blank <td>s
Diffstat (limited to 'build')
-rwxr-xr-xbuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/build b/build
index 4b8b923..2e1c27b 100755
--- a/build
+++ b/build
@@ -142,8 +142,9 @@ compile_for_lang() {
}
END { print "MARKER LOL" }
- ' data/coins \
- | last-of-design.sed \
+ ' data/coins \
+ | last-of-design.sed \
+ | sed -E 's|(<td class=not-minted>)[^<]*(<sup>[^<]*</sup>)?(</td>)|\1\3|g' \
| xfsub '<!-- SCOIN-TABLE-BODY -->' - $nod/index.html
gawk -v CC=$CC '