mirror of
https://github.com/TrezOne/congo-hindi-gujarati.git
synced 2026-06-15 04:52:55 -04:00
fix: Don’t markdownify dates
To prevent “ordered list” markup in languages like Danish and German dates are no longer markdownifed. Date formates like: `2. January 2006` would be turned into ordered lists because of the period after 2.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<time datetime="{{ . }}">
|
||||
{{- i18n "article.date_updated" (dict "Date" (partial "functions/date.html" .)) | markdownify | emojify -}}
|
||||
{{- i18n "article.date_updated" (dict "Date" (partial "functions/date.html" .)) | emojify -}}
|
||||
</time>
|
||||
{{- /* Trim EOF */ -}}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<time datetime="{{ . }}">
|
||||
{{- i18n "article.date" (dict "Date" (partial "functions/date.html" .)) | markdownify | emojify -}}
|
||||
{{- i18n "article.date" (dict "Date" (partial "functions/date.html" .)) | emojify -}}
|
||||
</time>
|
||||
{{- /* Trim EOF */ -}}
|
||||
|
||||
Reference in New Issue
Block a user