Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

German date Format collides with markdown #1647

Closed
ldericher opened this issue Jul 29, 2024 · 0 comments
Closed

German date Format collides with markdown #1647

ldericher opened this issue Jul 29, 2024 · 0 comments

Comments

@ldericher
Copy link
Contributor

Describe the bug
If .Site.Params.dateFormat is a "german" variant like 2. January 2006, the markdownify recognizes it as the start of a list, and it is rendered incorrectly

To Reproduce

  1. Add dateFormat = "2. January 2006" to one of your languages.*.toml in the [params] section
  2. Have some post to be rendered …

Expected behavior
It should render a date as e.g. "27. Dezember 2019"

Screenshots
The date is rendered as e.g. "Dezember 2019" (inside an <ol>).

image
image

Workaround
remove markdownify filter from layouts/partials/meta/date.html and layouts/partials/meta/date-updated.html

ldericher added a commit to ldericher/blowfish that referenced this issue Jul 29, 2024
This was referenced Jul 29, 2024
nunocoracao added a commit that referenced this issue Aug 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants