<!DOCTYPE html>
<html>
<head>
    <title>{{ page.title }}</title>
</head>
<body>

    <h1>{{ page.title }}</h1>

    {% for chart in page.charts_cache %}
        <img src="{{ chart.mangled_url|safe }}"><br>
    {% endfor %}

</body>
</html>
<!DOCTYPE html>
<html>
<head>
    <title>{{ page.title }}</title>
</head>
<body>

    <h1>{{ page.title }}</h1>

    {% for chart in page.charts_cache %}
        <img src="{{ chart.mangled_url|safe }}">
    {% endfor %}

</body>
</html>

Remove HTML <br> after images in page detail template
Remove HTML <br> after images in page detail template