     <ul>
                    % for ref_name, ref_url in flaws[vuln_name]["ref"].items():
                    <li><a href="${ref_url}">${ref_name | h}</a></li>
                    % endfor
                </ul>
                <br />
                <hr>
                % endif
            % endfor
            % for i, anomaly_name in enumerate(anomalies):
                % if len(anomalies[anomaly_name]):
                <h3 id="anom_type_${i}">${anomaly_name}</h3>
                <dl>
                    