I have used hugo v51 for years and recently tried to upgrade it to v107.
It seems that the newer version of absURL and BaseURL, maybe even more url handling functions, automatically add slash, /
, in front of backslash, \
, in the URL.
For example, the code is below.
"url": "{{"assets/img/logo.png" | absURL}}"
Hugo v51 will generate the html like this -
"url": "https://www.example.com/assets/img/logo.png"
But the html created by Hugo v107 is different -
"url": "https:\/\/www.example.com\/assets\/img\/logo.png"
Any idea whether it is an intended behaviour? Thanks in advance.