<commit_before>.. htmlmin documentation master file, created by
   sphinx-quickstart on Thu Feb 14 22:56:34 2013.
   You can adapt this file completely to your liking, but it should at least
   contain the root `toctree` directive.

htmlin
===================================
An HTML Minifier with Seatbelts

.. toctree::

   quickstart
   tutorial
   api


htmlin is an HTML minifier that just works. It comes with safe defaults and
an easily configurable set options. It cam turn this::

  <html>
    <head>
      <title>  Hello, Word!  </title>
    </head>
    <body>
      <p> How are <em>you</em> doing?  </p>
    </body>
  </html>

Into this::

  <html><head><title>Hello, World!</title><body><p> How <em>you</em< doing? </p></body></html>

When we say that htmlmin has 'seatbelts', what we mean is that it comes with
features that you can use to safely minify beyond the defaults, but you have to
put them in yourself. For instance, by default, htmlmin will never minimize the
content between ``<pre>``, ``<textarea>``, ``<script>``, and ``<style>`` tags.<commit_msg>fix typo<commit_after>.. htmlmin documentation master file, created by
   sphinx-quickstart on Thu Feb 14 22:56:34 2013.
   You can adapt this file completely to your liking, but it should at least
   contain the root `toctree` directive.

htmlin
===================================
An HTML Minifier with Seatbelts

.. toctree::

   quickstart
   tutorial
   api


htmlin is an HTML minifier that just works. It comes with safe defaults and
an easily configurable set options. It cam turn this::

  <html>
    <head>
      <title>  Hello, Word!  </title>
    </head>
    <body>
      <p> How are <em>you</em> doing?  </p>
    </body>
  </html>

Into this::

  <html><head><title>Hello, World!</title><body><p> How <em>you</em> doing? </p></body></html>

When we say that htmlmin has 'seatbelts', what we mean is that it comes with
features that you can use to safely minify beyond the defaults, but you have to
put them in yourself. For instance, by default, htmlmin will never minimize the
content between ``<pre>``, ``<textarea>``, ``<script>``, and ``<style>`` tags.
{'fraction_non_alphanumeric': 0.14652356509566028, 'fraction_numerical': 0.011199253383107793, 'mean_word_length': 3.6812227074235806, 'pattern_counts': {'":': 0, '<': 58, '<?xml version=': 0, '>': 56, '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': '566913', 'n_tokens_mistral': 690, 'n_tokens_neox': 653, 'n_words': 282}