<commit_before><html>
    <body>
        <h1>Preview</h1>
        <form method="post" action="{{ render_url }}">
            {% csrf_token %}
            {{ form }}
            <input type="submit">
        </form>
    </body>
</html>
<commit_msg>Previewing in an iframe<commit_after><html>
    <body>
        <h1>Preview</h1>
        <form method="post" action="{{ render_url }}" target="content-preview">
            {% csrf_token %}
            {{ form }}
            <input type="submit">
        </form>
        <h2>This is how it looks:</h2>
        <iframe name="content-preview" sandbox="allow-scripts">
        </iframe>
    </body>
</html>

{'fraction_non_alphanumeric': 0.17692307692307693, 'fraction_numerical': 0.009230769230769232, 'mean_word_length': 1.8933333333333333, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5561922', 'n_tokens_mistral': 210, 'n_tokens_neox': 204, 'n_words': 41}