aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/tcs/html.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/tcs/html.c')
-rw-r--r--src/cmd/tcs/html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/tcs/html.c b/src/cmd/tcs/html.c
index e237baa4..d0f08006 100644
--- a/src/cmd/tcs/html.c
+++ b/src/cmd/tcs/html.c
@@ -323,7 +323,7 @@ html_out(Rune *r, int n, long *x)
else if((s = findbyrune(*r)) != nil)
Bprint(&b, "&%s;", s);
else
- Bprint(&b, "&#%04x;", *r);
+ Bprint(&b, "&#x%04x;", *r);
}
Bflush(&b);
}