bmack/tidy
Composer 安装命令:
composer require bmack/tidy
包简介
HTML Tidy for the TYPO3 Frontend
README 文档
README
Use the command line tool HTML Tidy to clean up your HTML output.
Introduction
Clean your HTML output with the HTML Tidy tool.
Until TYPO3 CMS 6.1, the functionality to use the external tool HTML Tidy (see http://www.w3.org/People/Raggett/tidy/) to clean up invalid HTML was included in the TYPO3 CMS Core. The functionality was removed and is now included in this tiny extension that hooks into the Frontend rendering process.
The previous options
$TYPO3_CONF_VARS['FE']['tidy'] $TYPO3_CONF_VARS['FE']['tidy_option'] $TYPO3_CONF_VARS['FE']['tidy_path']
still work with this extension, but it is encouraged to use the settings that come with the extension.
Read http://www.w3.org/People/Raggett/tidy/ to understand what HTML tidy does.
Installation
Install the extension from the TYPO3 Extension Repository and set the options in the extension manager section of the TYPO3 Backend. The options set there are overriding options set via TYPO3_CONF_VARS, but the deprecated options still work as before. Be sure to install HTML Tidy to your server and set the tidy path correctly. As soon as the functionality is enabled, tidy should be run when the frontend is rendered.
Credits
Benni Mack created this extension as a replacement for the usage in the TYPO3 CMS Core.
The current development version can be found on https://github.com/bmack/tidy but please not that further active development for this extension is currently not planned.
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2020-11-03