mykiwi/mykiwi.blogpublic Fork
⑂ 800d236
Commits
⬇ Clone ▾
git clone https://git.rickub.com/mykiwi/mykiwi.blog.git
git clone ssh://git@rickub.com/mykiwi/mykiwi.blog.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Download ZIP

Bind numbers and dates with no-break spaces

Found by make typo: "1 min", "1 post" and the day/month of every date
could break across lines. en's ISO date gets non-breaking hyphens, which
also keeps JoliTypo's Dash rule from reading it as a range, and the
example page's dash pair gets the narrow no-break spaces it asks for.
Romain Gautier committed 2026-09-26T15:46:55+02:00 Browse files
800d236 parent: 549059e
modified blog/content/example.md +1 -1
@@ -193,7 +193,7 @@ A bare URL: https://mykiwi.blog/example/, an [in-page anchor](#headings), and an
193193
194194 A very long unbroken string to test overflow: `aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa`
195195
196-日本語のテキスト、émojis 🎉, and “smart quotes” — dashes – and… ellipses.
196+日本語のテキスト、émojis 🎉, and “smart quotes” — dashes – and… ellipses.
197197
198198 [^1]: The footnote text, with a [link](https://mykiwi.blog).
199199 [^2]: A second footnote, to check numbering and back-links.
@@ -193,7 +193,7 @@ A bare URL: https://mykiwi.blog/example/, an [in-page anchor](#headings), and an
193 193
194 A very long unbroken string to test overflow: `aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa`194 A very long unbroken string to test overflow: `aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa`
195 195
196-日本語のテキスト、émojis 🎉, and “smart quotes” — dashes – and… ellipses.196+日本語のテキスト、émojis 🎉, and “smart quotes” — dashes – and… ellipses.
197 197
198 [^1]: The footnote text, with a [link](https://mykiwi.blog).198 [^1]: The footnote text, with a [link](https://mykiwi.blog).
199 [^2]: A second footnote, to check numbering and back-links.199 [^2]: A second footnote, to check numbering and back-links.
modified blog/i18n/en.toml +6 -6
@@ -14,11 +14,11 @@ other = "Switch to light theme"
1414 other = "sha256 of this page's URL, drawn — {{ .Hash }}"
1515
1616 [minRead]
17-other = "{{ .Count }} min read"
17+other = "{{ .Count }}\u00A0min read"
1818
1919 [postsCount]
20-one = "{{ .Count }} post"
21-other = "{{ .Count }} posts"
20+one = "{{ .Count }}\u00A0post"
21+other = "{{ .Count }}\u00A0posts"
2222
2323 [improvePage]
2424 other = "Improve this page"
@@ -89,10 +89,10 @@ other = "Code on GitHub"
8989 # here - the English words are tokens, and renaming them breaks the date.
9090
9191 [dateLong]
92-other = "January 2, 2006"
92+other = "January\u00A02, 2006"
9393
9494 [dateShort]
95-other = "Jan 02"
95+other = "Jan\u00A002"
9696
9797 [dateNumeric]
98-other = "2006-01-02"
98+other = "2006\u201101\u201102"
@@ -14,11 +14,11 @@ other = "Switch to light theme"
14 other = "sha256 of this page's URL, drawn — {{ .Hash }}"14 other = "sha256 of this page's URL, drawn — {{ .Hash }}"
15 15
16 [minRead]16 [minRead]
17-other = "{{ .Count }} min read"17+other = "{{ .Count }}\u00A0min read"
18 18
19 [postsCount]19 [postsCount]
20-one = "{{ .Count }} post"20+one = "{{ .Count }}\u00A0post"
21-other = "{{ .Count }} posts"21+other = "{{ .Count }}\u00A0posts"
22 22
23 [improvePage]23 [improvePage]
24 other = "Improve this page"24 other = "Improve this page"
@@ -89,10 +89,10 @@ other = "Code on GitHub"
89 # here - the English words are tokens, and renaming them breaks the date.89 # here - the English words are tokens, and renaming them breaks the date.
90 90
91 [dateLong]91 [dateLong]
92-other = "January 2, 2006"92+other = "January\u00A02, 2006"
93 93
94 [dateShort]94 [dateShort]
95-other = "Jan 02"95+other = "Jan\u00A002"
96 96
97 [dateNumeric]97 [dateNumeric]
98-other = "2006-01-02"98+other = "2006\u201101\u201102"
modified blog/i18n/es.toml +5 -5
@@ -14,11 +14,11 @@ other = "Cambiar al tema claro"
1414 other = "sha256 de la URL de esta página, dibujado — {{ .Hash }}"
1515
1616 [minRead]
17-other = "{{ .Count }} min de lectura"
17+other = "{{ .Count }}\u00A0min de lectura"
1818
1919 [postsCount]
20-one = "{{ .Count }} artículo"
21-other = "{{ .Count }} artículos"
20+one = "{{ .Count }}\u00A0artículo"
21+other = "{{ .Count }}\u00A0artículos"
2222
2323 [improvePage]
2424 other = "Mejorar esta página"
@@ -89,10 +89,10 @@ other = "Código en GitHub"
8989 # here - the English words are tokens, and renaming them breaks the date.
9090
9191 [dateLong]
92-other = "2 de January de 2006"
92+other = "2\u00A0de January de 2006"
9393
9494 [dateShort]
95-other = "02 Jan"
95+other = "02\u00A0Jan"
9696
9797 [dateNumeric]
9898 other = "02/01/2006"
@@ -14,11 +14,11 @@ other = "Cambiar al tema claro"
14 other = "sha256 de la URL de esta página, dibujado — {{ .Hash }}"14 other = "sha256 de la URL de esta página, dibujado — {{ .Hash }}"
15 15
16 [minRead]16 [minRead]
17-other = "{{ .Count }} min de lectura"17+other = "{{ .Count }}\u00A0min de lectura"
18 18
19 [postsCount]19 [postsCount]
20-one = "{{ .Count }} artículo"20+one = "{{ .Count }}\u00A0artículo"
21-other = "{{ .Count }} artículos"21+other = "{{ .Count }}\u00A0artículos"
22 22
23 [improvePage]23 [improvePage]
24 other = "Mejorar esta página"24 other = "Mejorar esta página"
@@ -89,10 +89,10 @@ other = "Código en GitHub"
89 # here - the English words are tokens, and renaming them breaks the date.89 # here - the English words are tokens, and renaming them breaks the date.
90 90
91 [dateLong]91 [dateLong]
92-other = "2 de January de 2006"92+other = "2\u00A0de January de 2006"
93 93
94 [dateShort]94 [dateShort]
95-other = "02 Jan"95+other = "02\u00A0Jan"
96 96
97 [dateNumeric]97 [dateNumeric]
98 other = "02/01/2006"98 other = "02/01/2006"
modified blog/i18n/fr.toml +5 -5
@@ -14,11 +14,11 @@ other = "Passer au thème clair"
1414 other = "sha256 de l’URL de cette page, dessiné — {{ .Hash }}"
1515
1616 [minRead]
17-other = "{{ .Count }} min de lecture"
17+other = "{{ .Count }}\u00A0min de lecture"
1818
1919 [postsCount]
20-one = "{{ .Count }} article"
21-other = "{{ .Count }} articles"
20+one = "{{ .Count }}\u00A0article"
21+other = "{{ .Count }}\u00A0articles"
2222
2323 [improvePage]
2424 other = "Améliorer cette page"
@@ -89,10 +89,10 @@ other = "Code sur GitHub"
8989 # here - the English words are tokens, and renaming them breaks the date.
9090
9191 [dateLong]
92-other = "2 January 2006"
92+other = "2\u00A0January 2006"
9393
9494 [dateShort]
95-other = "02 Jan"
95+other = "02\u00A0Jan"
9696
9797 [dateNumeric]
9898 other = "02/01/2006"
@@ -14,11 +14,11 @@ other = "Passer au thème clair"
14 other = "sha256 de l’URL de cette page, dessiné — {{ .Hash }}"14 other = "sha256 de l’URL de cette page, dessiné — {{ .Hash }}"
15 15
16 [minRead]16 [minRead]
17-other = "{{ .Count }} min de lecture"17+other = "{{ .Count }}\u00A0min de lecture"
18 18
19 [postsCount]19 [postsCount]
20-one = "{{ .Count }} article"20+one = "{{ .Count }}\u00A0article"
21-other = "{{ .Count }} articles"21+other = "{{ .Count }}\u00A0articles"
22 22
23 [improvePage]23 [improvePage]
24 other = "Améliorer cette page"24 other = "Améliorer cette page"
@@ -89,10 +89,10 @@ other = "Code sur GitHub"
89 # here - the English words are tokens, and renaming them breaks the date.89 # here - the English words are tokens, and renaming them breaks the date.
90 90
91 [dateLong]91 [dateLong]
92-other = "2 January 2006"92+other = "2\u00A0January 2006"
93 93
94 [dateShort]94 [dateShort]
95-other = "02 Jan"95+other = "02\u00A0Jan"
96 96
97 [dateNumeric]97 [dateNumeric]
98 other = "02/01/2006"98 other = "02/01/2006"
modified blog/i18n/pt.toml +5 -5
@@ -14,11 +14,11 @@ other = "Mudar para o tema claro"
1414 other = "sha256 do URL desta página, desenhado — {{ .Hash }}"
1515
1616 [minRead]
17-other = "{{ .Count }} min de leitura"
17+other = "{{ .Count }}\u00A0min de leitura"
1818
1919 [postsCount]
20-one = "{{ .Count }} post"
21-other = "{{ .Count }} posts"
20+one = "{{ .Count }}\u00A0post"
21+other = "{{ .Count }}\u00A0posts"
2222
2323 [improvePage]
2424 other = "Melhorar esta página"
@@ -89,10 +89,10 @@ other = "Código no GitHub"
8989 # here - the English words are tokens, and renaming them breaks the date.
9090
9191 [dateLong]
92-other = "2 de January de 2006"
92+other = "2\u00A0de January de 2006"
9393
9494 [dateShort]
95-other = "02 Jan"
95+other = "02\u00A0Jan"
9696
9797 [dateNumeric]
9898 other = "02/01/2006"
@@ -14,11 +14,11 @@ other = "Mudar para o tema claro"
14 other = "sha256 do URL desta página, desenhado — {{ .Hash }}"14 other = "sha256 do URL desta página, desenhado — {{ .Hash }}"
15 15
16 [minRead]16 [minRead]
17-other = "{{ .Count }} min de leitura"17+other = "{{ .Count }}\u00A0min de leitura"
18 18
19 [postsCount]19 [postsCount]
20-one = "{{ .Count }} post"20+one = "{{ .Count }}\u00A0post"
21-other = "{{ .Count }} posts"21+other = "{{ .Count }}\u00A0posts"
22 22
23 [improvePage]23 [improvePage]
24 other = "Melhorar esta página"24 other = "Melhorar esta página"
@@ -89,10 +89,10 @@ other = "Código no GitHub"
89 # here - the English words are tokens, and renaming them breaks the date.89 # here - the English words are tokens, and renaming them breaks the date.
90 90
91 [dateLong]91 [dateLong]
92-other = "2 de January de 2006"92+other = "2\u00A0de January de 2006"
93 93
94 [dateShort]94 [dateShort]
95-other = "02 Jan"95+other = "02\u00A0Jan"
96 96
97 [dateNumeric]97 [dateNumeric]
98 other = "02/01/2006"98 other = "02/01/2006"