gulp-html-accents
3.4.1 • Public • Published gulp-html-accents
Encodes accents and other diacritics to HTML Entities using he
.
<p>Olá, tudo bem com você?</p>
encodes to
<p>Olá, tudo bem com você?</p>
Usage
Like any other gulp plugin.
const gulp = require('gulp');
const accents = require('gulp-html-accents');
gulp.task('process:html', () => {
gulp.src('./src/index.html')
.pipe(accents())
.pipe(gulp.dest('./dist'));
});
Options
gulp-html-accents
can, optionally, receives he.encode
options as argument.
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 3.4.1
6
Version History
Package Sidebar
Install
Weekly Downloads