Subsequent to the deprecation notice sent out this morning relating to the Trusty build image, I successfully (thanks to the help of coelmay and hrishikesh) migrated the build image for my site built on the Hugo theme
to the latest Focal build image.
However, subsequent to the migration for some reason the tag no longer works to render line breaks for in a block of address text in the message attribute of the Contact section of the config.toml file for my Hugo theme
Previously,
# Contact section
[params.contact]
enable = true
title = "Contact Us"
message = "Address line 1<br>Address line 1<br>Address line 1<br>Address line 1<p>Tel line +123456789"
gave the desired effect.
But subsequent to the migration, when doing a test deployment, the line breaks no longer render in the Deploy Preview
Any ideas on how I can get this to format properly again?
(Just a side question: given that the value is now set to unsafe does that mean there is any major security risk associated with configuring the markdown in that way?)
You just have to make sure, not to write any untrusted JavaScript in your Markdown as that would get injected in the final output. Other than that, you’re good to go.