summaryrefslogtreecommitdiff
path: root/ui/style.go
diff options
context:
space:
mode:
Diffstat (limited to 'ui/style.go')
-rw-r--r--ui/style.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/style.go b/ui/style.go
index 506a03d..aa6683a 100644
--- a/ui/style.go
+++ b/ui/style.go
@@ -142,7 +142,7 @@ func (s StyledString) ParseURLs() StyledString {
if u, err := url.Parse(link); err != nil || u.Scheme == "" {
link = "https://" + link
}
- id := fmt.Sprintf("_%10d", rand.Int31())
+ id := fmt.Sprintf("_%010d", rand.Int31())
// find last style starting before or at url begin
for ; j < len(s.styles); j++ {
st := s.styles[j]