touson/mswordcleanup
Composer 安装命令:
composer require touson/mswordcleanup
包简介
Cleans up all the crappy markup when word outputs HTML
README 文档
README
Cleans all the crap out of HTML produced by Microsoft Word
This package is a conversion of the work started by WebmasterSherpa into a class based composer package.
Installation
You can add this library as a local, per-project dependency to your project using Composer:
composer require touson/mswordcleanup
Usage examples
$cleaner = new touson\Cleaner('some HTML'); // Returns the cleaned HTML $cleaner->cleanHtml(); // Or you can use it statically. This will new up an instance of the Cleaner class, run the cleanHtml() method and return the result Cleaner::clean('some HTML');
统计信息
- 总下载量: 63
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-12-09