'Why isn't Postman's Visualize rendering HTML styling

Given the following JSON response:

[
    {
        "Key": "Foo",
        "Value": "This does not have HTML styling."
    },
    {
        "Key": "Bar",
        "Value": "<i>This</i> has <b>some</b> HTML styling."
    }
]

And using the following to visualize the response:

var template = `
    <table>
        <tr>
            <th>Key</th>
            <th>Value</th>
        </tr>

        {{#each response}}
            <tr>
                <td>{{Key}}</td>
                <td>{{Value}}</td>
            </tr>
        {{/each}}
    </table>
`;

pm.visualizer.set(template, {
    response: pm.response.json()
});

Why is the and styling not being rendered?

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source