Subscribe

View this package for all CentOS/RHEL versions →

How to install nginx-module-html-sanitize in CentOS/RHEL 6 (x86_64)

NGINX module to sanitize HTML 5 with whitelisted elements, attributes and CSS

License: BSD Vendor: GetPageSpeed, Inc. https://github.com/dvershinin/ngx_http_html_sanitize_module

Install

sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm
sudo yum -y install nginx-module-html-sanitize

Description

ngx_http_html_sanitize_module - It's base on google's gumbo-parser as HTML5 parser and hackers-painters's katana-parser as inline CSS parser to sanitize HTML with whitelisted elements, whitelisted attributes and whitelisted CSS property.