<commit_before><!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width">
    <title>Draftail 📝🍸 – a rich text editor built with Draft.js</title>
    <meta name="description" content="A rich text editor built with Draft.js"/>

    <link rel="stylesheet" href="assets/main.css" />
    <link rel="stylesheet" href="assets/icomoon/style.css" />
    <link rel="stylesheet" href="assets/draftail.css" />

    <link rel="shortcut icon" href="favicon.ico">
</head>
<body>
    <div class="wrapper">
        <section>
            <h1>Test suite</h1>

            <div data-mount-test></div>

            <hr>

            <h2>Copy/paste test cases – HTML to Draftail</h2>

            <p>Use the following by copy/pasting them in the editor, <em>see what happens</em>.</p>

            <div class="example">
                <h3>Block nesting normalization</h3>
                <div>
                    <p>Depth 0</p>
                    <ul>
                        <li>Depth 0</li>
                        <li>
                            <ul>
                                <li>Depth 1</li>
                                <ul>
                                    <li>Depth 2</li>
                                    <ul>
                                        <li>Depth 3</li>
                                    </ul>
                                    <li>Depth 2</li>
                                </ul>
                            </ul>
                        </li>
                    </ul>
                </div>
            </div>
            <div class="example">
                <h3>Preserve <code>a</code> tags as <code>LINK</code> entities</h3>
                <div>
                    <p>Draftail is a rich text editor built on <a href="https://facebook.github.io/draft-js/">Draft.js</a>, intended to be integrated into <a href="https://wagtail.io/">Wagtail</a>.</p>
                </div>
            </div>
            <div class="example">
                <h3>Preserve <code>img</code> tags as <code>IMAGE</code> entities</h3>
                <div>
                    <p>Draftail supports images and embeds out of the box.</p>
                    <img src="https://placekitten.com/g/400/300" alt="Placekitten example image">
                    <p>It can be extended to support more entities from Wagtail.</p>
                </div>
            </div>
            <div class="example">
                <h3>Preserve block types and tags, and drop unavailable types</h3>
                <div>
                    <h1>h1 - Draftail</h1>
                    <h2>h2 - Usage</h2>
                    <ol>
                        <li>ol li - Install</li>
                        <li>ol li - Import</li>
                        <li>ol li - Configure</li>
                    </ol>
                    <h3>h3 - Available options</h3>
                    <ul>
                        <li>ul li - Block types</li>
                        <li>ul li - Inline styles</li>
                    </ul>
                    <h4>h4 - Limiting available block types</h4>
                    <h5>h5 - Custom Draft.js block types</h5>
                    <h6>h6 - Heading 6</h6>
                    <hr>
                    <p>p - Draftail is intended to be integrated into Wagtail.</p>
                    <dl>
                        <dt>dl dt - Draftail</dt>
                        <dd>dl dd - A rich text editor built with Draft.js</dd>
                        <dt>dl dt - Wagtail</dt>
                        <dd>dl dd - An elegant and easy to use CMS built with Django</dd>
                    </dl>
                    <pre><code>pre code - import React from 'react';</code></pre>
                    <img src="https://placekitten.com/g/400/300" alt="Placekitten example image">
                    <blockquote>blockquote – The Python source distribution has long maintained the philosophy of "batteries included" -- having a rich and versatile standard library which is immediately available, without making the user download separate packages. - PEP206</blockquote>
                </div>
            </div>

            <hr>

            <h2>Copy/paste test cases – Draftail to Draftail</h2>

            <p>Use the following by copy/pasting them in the editor, <em>see what happens</em>.</p>


        </div>
    </div>
    <script src="https://code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script>
    <script src="assets/vendor.bundle.js"></script>
    <script src="assets/test.bundle.js"></script>
</body>
</html><commit_msg>Stop loading jQuery on test page<commit_after><!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width">
    <title>Draftail 📝🍸 – a rich text editor built with Draft.js</title>
    <meta name="description" content="A rich text editor built with Draft.js"/>

    <link rel="stylesheet" href="assets/main.css" />
    <link rel="stylesheet" href="assets/icomoon/style.css" />
    <link rel="stylesheet" href="assets/draftail.css" />

    <link rel="shortcut icon" href="favicon.ico">
</head>
<body>
    <div class="wrapper">
        <section>
            <h1>Test suite</h1>

            <div data-mount-test></div>

            <hr>

            <h2>Copy/paste test cases – HTML to Draftail</h2>

            <p>Use the following by copy/pasting them in the editor, <em>see what happens</em>.</p>

            <div class="example">
                <h3>Block nesting normalization</h3>
                <div>
                    <p>Depth 0</p>
                    <ul>
                        <li>Depth 0</li>
                        <li>
                            <ul>
                                <li>Depth 1</li>
                                <ul>
                                    <li>Depth 2</li>
                                    <ul>
                                        <li>Depth 3</li>
                                    </ul>
                                    <li>Depth 2</li>
                                </ul>
                            </ul>
                        </li>
                    </ul>
                </div>
            </div>
            <div class="example">
                <h3>Preserve <code>a</code> tags as <code>LINK</code> entities</h3>
                <div>
                    <p>Draftail is a rich text editor built on <a href="https://facebook.github.io/draft-js/">Draft.js</a>, intended to be integrated into <a href="https://wagtail.io/">Wagtail</a>.</p>
                </div>
            </div>
            <div class="example">
                <h3>Preserve <code>img</code> tags as <code>IMAGE</code> entities</h3>
                <div>
                    <p>Draftail supports images and embeds out of the box.</p>
                    <img src="https://placekitten.com/g/400/300" alt="Placekitten example image">
                    <p>It can be extended to support more entities from Wagtail.</p>
                </div>
            </div>
            <div class="example">
                <h3>Preserve block types and tags, and drop unavailable types</h3>
                <div>
                    <h1>h1 - Draftail</h1>
                    <h2>h2 - Usage</h2>
                    <ol>
                        <li>ol li - Install</li>
                        <li>ol li - Import</li>
                        <li>ol li - Configure</li>
                    </ol>
                    <h3>h3 - Available options</h3>
                    <ul>
                        <li>ul li - Block types</li>
                        <li>ul li - Inline styles</li>
                    </ul>
                    <h4>h4 - Limiting available block types</h4>
                    <h5>h5 - Custom Draft.js block types</h5>
                    <h6>h6 - Heading 6</h6>
                    <hr>
                    <p>p - Draftail is intended to be integrated into Wagtail.</p>
                    <dl>
                        <dt>dl dt - Draftail</dt>
                        <dd>dl dd - A rich text editor built with Draft.js</dd>
                        <dt>dl dt - Wagtail</dt>
                        <dd>dl dd - An elegant and easy to use CMS built with Django</dd>
                    </dl>
                    <pre><code>pre code - import React from 'react';</code></pre>
                    <img src="https://placekitten.com/g/400/300" alt="Placekitten example image">
                    <blockquote>blockquote – The Python source distribution has long maintained the philosophy of "batteries included" -- having a rich and versatile standard library which is immediately available, without making the user download separate packages. - PEP206</blockquote>
                </div>
            </div>

            <hr>

            <h2>Copy/paste test cases – Draftail to Draftail</h2>

            <p>Use the following by copy/pasting them in the editor, <em>see what happens</em>.</p>


        </div>
    </div>
    <script src="assets/vendor.bundle.js"></script>
    <script src="assets/test.bundle.js"></script>
</body>
</html>
{'fraction_non_alphanumeric': 0.12482331194954877, 'fraction_numerical': 0.013265195172338807, 'mean_word_length': 1.2126533557854222, 'pattern_counts': {'":': 0, '<': 311, '<?xml version=': 0, '>': 311, 'https://': 9, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2712144', 'n_tokens_mistral': 2702, 'n_tokens_neox': 2473, 'n_words': 666}