diff --git a/bin/cal.py b/bin/cal.py
index 8cd0bbe..52fb8f2 100755
--- a/bin/cal.py
+++ b/bin/cal.py
@@ -10,6 +10,7 @@ import json
import subprocess
import sys
import i3ipc
+import html
from pathlib import Path
if not Path("~/.gcalcli_oauth").expanduser().exists():
@@ -46,7 +47,7 @@ def authuser(evt):
def tooltip(evt):
# todo: location
return f"""
- {evt["summary"]}
+ {html.escape(evt["summary"])}
{evt["s"].strftime("%b %d %H:%M")} - {evt["e"].strftime("%H:%M")}
"""