<commit_before><!DOCTYPE html>
<html>
    <head>
        <title>LaTeX input</title>
        <meta charset="utf-8" />
        <style type="text/css">
            body {
                font-family: Helvetica, Arial, sans-serif;
                background-color: white;
            }
            .bold {
                font-weight: bold;
            }
        </style>
    </head>
    <body>
        <h3>LaTeX input</h3>
        <p>Just enter the LaTeX input to be rendered. It will be wrapped into a
           document (<span style="font-style: italic;">\documentclass{article}</span>)
           automatically.<br>
           <span class="bold">NB!</span> The input must compile without any
           extra packages.</p>

        <form action="/input" method="post">
            <label class="bold" for="latex-input">LaTeX to render</label>
            <br>
            <textarea name="latex-input" id="latex-input" rows="15" cols="80"
                      minlength="5" required="required"></textarea>
            <br><br>
            <span class="bold">Output type</span>
            <br>
            <input name="output" id="output-image" type="radio" value="image"
                   checked="checked">
            <label for="output-image">Image</label>
            <br>
            <input name="output" id="output-link" type="radio" value="link">
            <label for="output-link">Link</label>
            <br><br>
            <button type="submit">Render</button>
        </form>
    </body>
</html><commit_msg>Fix invalid POST target on input page<commit_after><!DOCTYPE html>
<html>
    <head>
        <title>LaTeX input</title>
        <meta charset="utf-8" />
        <style type="text/css">
            body {
                font-family: Helvetica, Arial, sans-serif;
                background-color: white;
            }
            .bold {
                font-weight: bold;
            }
        </style>
    </head>
    <body>
        <h3>LaTeX input</h3>
        <p>Just enter the LaTeX input to be rendered. It will be wrapped into a
           document (<span style="font-style: italic;">\documentclass{article}</span>)
           automatically.<br>
           <span class="bold">NB!</span> The input must compile without any
           extra packages.</p>

        <form action="input" method="post">
            <label class="bold" for="latex-input">LaTeX to render</label>
            <br>
            <textarea name="latex-input" id="latex-input" rows="15" cols="80"
                      minlength="5" required="required"></textarea>
            <br><br>
            <span class="bold">Output type</span>
            <br>
            <input name="output" id="output-image" type="radio" value="image"
                   checked="checked">
            <label for="output-image">Image</label>
            <br>
            <input name="output" id="output-link" type="radio" value="link">
            <label for="output-link">Link</label>
            <br><br>
            <button type="submit">Render</button>
        </form>
    </body>
</html>
{'fraction_non_alphanumeric': 0.1487146111291897, 'fraction_numerical': 0.005206638464041653, 'mean_word_length': 1.7495527728085867, 'pattern_counts': {'":': 0, '<': 91, '<?xml version=': 0, '>': 91, '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': '1961346', 'n_tokens_mistral': 897, 'n_tokens_neox': 853, 'n_words': 199}