PRO, twig: Replace \r\n in JSON to HTML-Linefeeds

Challenge:

Display JSON from https://api.json-content-importer.com/extra/json/novida.inschool.fi.json and replace the “\r\n” linefeeds by “<br>”

Solution:

Use the twig-command “replace

In Action:

curlGET failed, http-code: 301