htmlawed-git/htmlawed 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

htmlawed-git/htmlawed

最新稳定版本:1.2.beta.7

Composer 安装命令:

composer require htmlawed-git/htmlawed

包简介

htmLawed - Process text with HTML markup to make it more compliant with HTML standards and administrative policies

README 文档

README

PHP code to purify & filter HTML

  • make HTML markup in text secure and standard-compliant
  • process text for use in HTML, XHTML or XML documents
  • restrict HTML elements, attributes or URL protocols using black- or white-lists
  • balance tags, check element nesting, transform deprecated attributes and tags, make relative URLs absolute, etc.
  • fast, highly customizable, well-documented
  • single, 48 kb file
  • simple HTML Tidy alternative
  • free and licensed under LGPL v3 and GPL v2+
  • use to filter, secure & sanitize HTML in blog comments or forum posts, generate XML-compatible feed items from web-page excerpts, convert HTML to XHTML, pretty-print HTML, scrape web-pages, reduce spam, remove XSS code, etc.

Read more on the official htmLawed homepage.

Why a fork?

This git repository tracks changes from the upstream project to allow installation via composer and packagist because the original project doesn't offer compatible and publicly available version control.

The tracking works highly automated. Timestamps are backported for each release, and releases are tagged according to their original versions. This might produce problems for some versions with packagist. We'll see.

统计信息

  • 总下载量: 24
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 16
  • 开发语言: HTML

其他信息

  • 授权协议: LGPL-3.0
  • 更新时间: 2015-04-06