Html-text

Latest version: v0.6.2

Safety actively analyzes 629639 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

0.4.1

------------------

Fixed a regression in 0.4.0 release: text was empty when
``html_text.extract_text`` is called with a node with text, but
without children.

0.4.0

------------------

This is a backwards-incompatible release: by default html_text functions
now add newlines after elements, if appropriate, to make the extracted text
to look more like how it is rendered in a browser.

To turn it off, pass ``guess_layout=False`` option to html_text functions.

* ``guess_layout`` option to to make extracted text look more like how
it is rendered in browser.
* Add tests of layout extraction for real webpages.

0.3.0

------------------

* Expose functions that operate on selectors,
use ``.//text()`` to extract text from selector.

0.2.1

------------------

* Packaging fix (include CHANGES.rst)

0.2.0

------------------

* Fix unwanted joins of words with inline tags: spaces are added for inline
tags too, but a heuristic is used to preserve punctuation without extra spaces.
* Accept parsed html trees.

0.1.1

------------------

* Travis-CI and codecov.io integrations added

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.