Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-08-23 09:23:54 +0200
committerErich Eckner <git@eckner.net>2020-08-23 09:23:54 +0200
commitacfa01e86dd5ce35d96184c3806dea889465dfb9 (patch)
tree5bad416154801b03de384e63269354bbf09bcfd8
parentdd0f57248d6889c19d841ededa78c6574c862fb8 (diff)
convert.sh: pidgin format changed ("html")
-rwxr-xr-xconvert.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/convert.sh b/convert.sh
index be6dff3..a5373af 100755
--- a/convert.sh
+++ b/convert.sh
@@ -53,8 +53,8 @@ elif [ "$2" = 'tyzoid' ]; then
elif [ "$2" = 'html' ]; then
channel="$3"
sed -n '
- /^<font size="2">/{
- s@^<font size="2">(\([^)]\+\))</font><b> @\1 @
+ /^<span style="font-size: smaller">/{
+ s@^<span style="font-size: smaller">(\([^)]\+\))</span><b> @\1 @
/entered the room\.<\/b><br\/>$/{
s@^\(\S\+\) \(.*\S\) \[.*] entered the room\.<\/b><br\/>$@\1 --> | \2 has joined '"${channel}"' @
p
@@ -77,13 +77,13 @@ elif [ "$2" = 'html' ]; then
}
d
}
- \@</font> <b>\*\*\*\S\+</b></font> @{
- s@^<font color="#[0-9A-F]\{6\}"><font size="2">(\([^)]\+\))</font> <b>\*\*\*\(\S*\)</b></font> \(.*\)<br/>$@\1 * | \2 \3@
+ \@</span> <b>\*\*\*\S\+</b></span> @{
+ s@^<span style="color: #[0-9A-F]\{6\}"><span style="font-size: smaller">(\([^)]\+\))</span> <b>\*\*\*\(\S*\)</b></span> \(.*\)<br/>$@\1 * | \2 \3@
p
d
}
- /<font size="2">/{
- s@^<font color="#[0-9A-F]\{6\}"><font size="2">(\([^)]\+\))</font> <b>\(\S\+\):</b></font> @\1 \2 | @
+ /<span style="font-size: smaller">/{
+ s@^<span style="color: #[0-9A-F]\{6\}"><span style="font-size: smaller">(\([^)]\+\))</span> <b>\(\S\+\):</b></span> @\1 \2 | @
s@<br/>$@@
p
d