Metadata-Version: 2.1
Name: prettierfier
Version: 1.0.0
Summary: Intelligently pretty-print HTML/XML with inline tags.
Home-page: https://github.com/annedo/prettierfier
Author: Anne Do
Author-email: anne.do.designs@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Microsoft :: Windows
Requires-Python: >=3
Description-Content-Type: text/markdown

# prettierfier
While I love [Beautiful Soup](https://www.crummy.com/software/BeautifulSoup/bs4/doc/), the BeautifulSoup.prettify() function adds a linebreak between *every* tag. 
This results in unwanted white space between tags that should be inline, like `<sup>`, `<a>`, `<span>`, etc:

```
<p>Introducing GitHub<sup>&reg;</sup></p>
```
<p>Introducing GitHub<sup>&reg;</sup></p>

vs.

```
<p>
    Introducing GitHub
    <sup>
        &reg;
    </sup>
</p>
```
<p>
    Introducing GitHub
    <sup>
        &reg;
    </sup>
</p>

This script parses HTML/XML as a raw string to more intelligently format tags.

