Fake KeepAll
Apply the fake word-break: keep-all; CSS property to static HTML file.
This is useful when using the HTML->PDF converter that does not support the word-break: keep-all; CSS property.
How it works
Add the white-space: nowrap; CSS property to every word to prevent line breaks.
Installation
$ pip install fake-keepall
Usage
$ fake-keepall example.html example_out.html
Set whitelist tags:
$ fake-keepall example.html example_out.html --tags 'p,li'
Use custom CSS class:
$ fake-keepall example.html example_out.html --class 'myclass'
Screenshot
Metadata
Release files for fake-keepall 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| fake-keepall-0.1.2.tar.gz | 2.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fake_keepall-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.6 kB
Release files / fake-keepall-0.1.2.tar.gz
| Download URL | fake-keepall-0.1.2.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b972b1f1f26ef5b02d70a3eef6f4661f4b4a363117385ff442027732a6c4b4e4
|
|
BLAKE2b-256 checksum How to use checksums |
344db374feeab28cf01af305a4ba5bc0f9b876236fb7685bc7f2d19602e20c54
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.10 CPython/3.8.5 Linux/5.4.0-42-generic
|
Release files / fake_keepall-0.1.2-py3-none-any.whl
| Download URL | fake_keepall-0.1.2-py3-none-any.whl |
|---|---|
| Size | 3.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6caa100a26decb127a74f4c7124579bdf0d34ba0781bec8691456df7bda66381
|
|
BLAKE2b-256 checksum How to use checksums |
eaa4c6929f25d600a275b47bdd17216bfbcf1dc8bc4611b148f51adca54f9ded
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.10 CPython/3.8.5 Linux/5.4.0-42-generic
|
Security for fake-keepall 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.