Skip to content

Commit 916326d

Browse files
committed
escape closing tag in title replacement
1 parent e125f67 commit 916326d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

autobahn/favicon.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#! /bin/bash
22

3-
sed -i 's/<head>/<head>\n <link rel="shortcut icon" href="data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%3E%3Ctext%20y%3D%22.9em%22%20font-size%3D%2290%22%3E%F0%9F%8C%B1%3C%2Ftext%3E%3C%2Fsvg%3E" type="image\/svg+xml">\n <title>Autobahn Report - Mint.WebSocket</title>/' $1
3+
sed -i 's/<head>/<head>\n <link rel="shortcut icon" href="data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%3E%3Ctext%20y%3D%22.9em%22%20font-size%3D%2290%22%3E%F0%9F%8C%B1%3C%2Ftext%3E%3C%2Fsvg%3E" type="image\/svg+xml">\n <title>Autobahn Report - Mint.WebSocket<\/title>/' $1

0 commit comments

Comments
 (0)