Metadata-Version: 2.1
Name: htmldiff2
Version: 0.1.1
Summary: Diffs arbitrary HTML inline.
Home-page: http://github.com/edsu/htmldiff2
Author: Ed Summers
Author-email: ehs@pobox.com
License: UNKNOWN
Description: # htmldiff2
        
        htmldiff2 is a library that uses [difflib], [genshi] and [html5lib] to diff
        arbitrary fragments of HTML inline. htmldiff2 is a friendly fork of Armin
        Ronacher's [htmldiff](https://github.com/mitsuhiko/htmldiff) which needed to be
        upgraded for the [diffengine](https://github.com/docnow/diffengine) project. See
        [this issue](https://github.com/mitsuhiko/htmldiff/issues/7) for context.
        
        ```python
        >>> from htmldiff2 import render_html_diff
        >>> render_html_diff('Foo <b>bar</b> baz', 'Foo <i>bar</i> baz')
        u'<div class="diff">Foo <i class="tagdiff_replaced">bar</i> baz</div>'
        >>> render_html_diff('Foo bar baz', 'Foo baz')
        u'<div class="diff">Foo <del>bar</del> baz</div>'
        >>> render_html_diff('Foo baz', 'Foo blah baz')
        u'<div class="diff">Foo <ins>blah</ins> baz</div>'
        ```
        
        [genshi]: https://genshi.edgewall.org/
        [html5lib]: https://github.com/html5lib/html5lib-python
        [difflib]: https://docs.python.org/3/library/difflib.html
        
Platform: UNKNOWN
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python
Description-Content-Type: text/markdown
