I have a site with a page mypage.md, a part of the page looks like:
...
{{< myshortcode foo="" bar="quz" >}}
...
This code worked flawlessly with hugo v0.101.0.
Now, after upgrading to hugo v0.102.1, hugo server
doesn’t startup any more. The error is Illegal shortcode state
:
Start building sites …
hugo v0.102.1-e9c3ce16abc391ee5be38f88b0499d0e8e19104c+extended linux/amd64 BuildDate=2022-08-29T12:58:13Z VendorInfo=gohugoio
Error: Error building site: "/home/user/example/content/mypage.md:28:1": Illegal shortcode state
I could work around this by using single quotes instead of escaped double quotes:
...
{{< myshortcode foo="" bar="quz" >}}
...
I still don’t understand the reason for the failure, though.