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>2022-11-07 10:25:00 +0100
committerErich Eckner <git@eckner.net>2022-11-07 10:25:00 +0100
commitaac8825661f9b899af24d560e960465d4a28baae (patch)
tree6e0f2ecdfc046dbee8eb8ec4c2451e075b49bdcc
parentc464eb855ae463873587fef9494d778addea3fdf (diff)
logbot.py: escape some "{}" to not expand in format()
-rwxr-xr-xlogbot.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/logbot.py b/logbot.py
index 79a2972..9196f4e 100755
--- a/logbot.py
+++ b/logbot.py
@@ -112,24 +112,24 @@ html_header = """<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{title}</title>
<style type="text/css">
- body {
+ body {{
background-color: #F8F8FF;
font-family: Fixed, monospace;
font-size: 13px;
- }
- h1 {
+ }}
+ h1 {{
font-family: sans-serif;
font-size: 24px;
text-align: center;
- }
- a, .time {
+ }}
+ a, .time {{
color: #525552;
text-decoration: none;
- }
- a:hover, .time:hover { text-decoration: underline; }
- .person { color: #DD1144; }
- .join, .part, .quit, .kick, .mode, .topic, .nick { color: #42558C; }
- .notice { color: #AE768C; }
+ }}
+ a:hover, .time:hover {{ text-decoration: underline; }}
+ .person {{ color: #DD1144; }}
+ .join, .part, .quit, .kick, .mode, .topic, .nick {{ color: #42558C; }}
+ .notice {{ color: #AE768C; }}
</style>
</head>
<body>