-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
TOML is rendered differently in code-toggle with v0.87.0 #1505
Comments
IMO this is not a bug, it is just different than it was before. The This:
Renders as:
Whether or not the lack of indentation and blank lines is a good thing is debatable, but there is nothing inherently wrong with the current behavior. |
I will add indentation in gohugoio/hugo#8850 -- the other remarks are improvements, in my head (or: they are in line with the TOML 1.0 spec where only 2 quotes are mentioned: single and triple; |
I am primarily concerned about possible confusion and inconsistent documentation:
But I'm paranoid. |
@jmooring I know what you're talking about, but all of this is a balance game: We replaced a buggy, non-spec-compliant and unmaintained TOML library with a faster, TOML 1.0-compliant and well maintained library. On the net side of everything, this is a win. |
I completely agree. |
Example:
https://gohugo.io/hugo-modules/configuration/#module-config-mounts
v0.86.1
v0.87.0
I suspect this is due to the changes in the TOML library.
The text was updated successfully, but these errors were encountered: