aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--timestring.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/timestring.rb b/timestring.rb
index 387aba3..f61e631 100644
--- a/timestring.rb
+++ b/timestring.rb
@@ -73,7 +73,7 @@ class TimeString
if @time
"#{@date} #{time_to_s}"
else
- @date.to_s
+ CGI.escapeHTML(@date.to_s)
end
end
def inspect