Consider the following skeletal project .zip file named test-site
once unziped.
The homepage contains the following:
![My site](some-path)
{.logo}
If I generate the site using Hugo 0.122.0 or 0.123.7, then the image element includes the class name:
<img src="some-path" alt="My site" class="logo">
Now uncomment the following line in hugo.yaml
:
languages: {en: {languageName: English}}
And regenerate using 0.122.0, then we get the same result. But with Hugo 0.123.7, the <img>
class attribute disappears.
Is the a feature or a bug?
Thanks,
Patrice