Skip to content

Commit 8eecf66

Browse files
committed
Add mid links and tweak thread link UI
1 parent 9d3e9e0 commit 8eecf66

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

bin/issuegen.pl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,10 +172,12 @@
172172

173173
# Linkify URLs
174174
s/(http\S+)/<a href='\1'>\1<\/a>/g;
175-
# Add thread link
176-
s/>(http[s]?:\/\/lists.w3.org\/Archives\/Public\/)(\S+)<\/a>/>\1\2<\/a> (<a href="https:\/\/www.w3.org\/Mail\/flatten\/index?subject=https\%3A\%2F\%2Flists.w3.org\%2FArchives\%2FPublic\%2F\2">thread<\/a>)/g;
177175

176+
# Add thread links
177+
s/>(http[s]?:\/\/lists.w3.org\/Archives\/Public\/)(\S+)<\/a>/>\1\2<\/a> <a href="https:\/\/www.w3.org\/Mail\/flatten\/index?subject=https\%3A\%2F\%2Flists.w3.org\%2FArchives\%2FPublic\%2F\2"><abbr title="Thread">&#x2208;<\/abbr><\/a>/g;
178178

179+
# Add mid links
180+
s/>(http[s]?:\/\/www.w3.org\/mid\/)(\S+)<\/a>/>\1\2<\/a> <a href="mid:\2"><abbr title="Open Message">&#x2386;<\/abbr><\/a>/g;
179181

180182
# Anchor issue number
181183
s/Issue (\w+)\./Issue \1. <a href='#issue-\1'>#<\/a>/;
@@ -251,6 +253,8 @@ sub header {
251253
:not(pre).fo { background: red }
252254
.open { border: solid red; }
253255
:target { box-shadow: 0.25em 0.25em 0.25em; }
256+
a[href^=mid], a[href~=flatten] { text-decoration: none; }
257+
abbr { font-weight: bold; }
254258
</style>
255259
256260
<h1>$title Disposition of Comments for $date $status</h1>

0 commit comments

Comments
 (0)