Actually use a zero width space to prevent timestamps being detected as events.

Zero-width space (200b) is deprecated, but the new way (word joiner - 2060)
doesn't work yet (at least not in Chrome/Mac since it switched to HarfBuzz)
This commit is contained in:
Mihai Parparita 2014-11-04 22:04:02 -08:00
parent 1fb6aea186
commit 30f2ad4400

View file

@ -42,7 +42,7 @@ func safeFormattedDate(date string) string {
} else {
buffer.WriteString(date[i : i+2])
}
buffer.WriteString("\u2060")
buffer.WriteString("\u200b")
}
return buffer.String()
}