Download the PHP package michalskoula/remove-formatting without Composer
On this page you can find all versions of the php package michalskoula/remove-formatting. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download michalskoula/remove-formatting
More information about michalskoula/remove-formatting
Files in michalskoula/remove-formatting
Download michalskoula/remove-formatting
More information about michalskoula/remove-formatting
Files in michalskoula/remove-formatting
Vendor michalskoula
Package remove-formatting
Short Description Simple tool to remove (some) HTML formatting, for example for text copied from Word or Google Docs.
License MIT
Package remove-formatting
Short Description Simple tool to remove (some) HTML formatting, for example for text copied from Word or Google Docs.
License MIT
Please rate this library. Is it a good library?
Informations about the package remove-formatting
Remove Formatting
Simple tool to remove (some) HTML formatting, for example for text copied from Microsoft Word or Google Docs. It removes unwanted styles, classes, elements etc.
Features:
- removes unwanted elements (default: keep ['a', 'img', 'p', 'strong'])
- removes unwanted attributes (default: keep ['href', 'src'])
- removes unwanted whitespaces (default: false)
Installation
Requires PHP 7.4+
Usage
See example.php
HTML Before
HTML After
About
- MIT Licence
- https://skoula.cz
All versions of remove-formatting with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
The package michalskoula/remove-formatting contains the following files
Loading the files please wait ....