mirror of
https://github.com/samsonjs/retrogit.git
synced 2026-04-27 15:07:43 +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 {
|
} else {
|
||||||
buffer.WriteString(date[i : i+2])
|
buffer.WriteString(date[i : i+2])
|
||||||
}
|
}
|
||||||
buffer.WriteString("\u2060")
|
buffer.WriteString("\u200b")
|
||||||
}
|
}
|
||||||
return buffer.String()
|
return buffer.String()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue