Hi,
As a way to learn Elm I’m building a simple random quote application that I’ve previously built in JS. So far, I can receive a JSON response with the following format, and I’ve decoded the content field.
[
{
"ID": 1564,
"title": "Henry Ford",
"content":
"<p>You can’t build a reputation on what you’re going to do.</p>\n",
"link": "https://quotesondesign.com/henry-ford-4/"
}
]
In JS I would be able to inject the content string into the DOM as HTML, taking care of the escaped codes, p-tags and other special characters. Is there a simple way in Elm to achieve the same effect?
Thanks 