mirror of
https://github.com/samsonjs/retrogit.git
synced 2026-03-25 09:25:49 +00:00
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:
parent
1fb6aea186
commit
30f2ad4400
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue