Wondering if there’s any way of doing this? I think I could do it if I use dangerouslySetInnerHTML but ideally I’d just call this within my p tag.
This is my Json
"login": [
{
"title": "Hello!",
"blurb": "This is a secret direct link to enable login without a username and password. If you're having trouble accessing my portfolio via this link, please <a href="mailto: [email protected]" className={`${styles.link}`}>contact me.</a>"
}
]
And then in my js file (nextJS) I’d just do this
<p className={`${styles.body} fadeIn`}>{cms.blurb}</p>
Any way of doing this? Something I can change in my json file?