rehype-remove-meta-http-equiv
rehype plugin to remove `http-equiv` `meta` elements for shorter output
Last updated 4 months ago by wooorm .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install rehype-remove-meta-http-equiv 
SYNC missed versions from official npm registry.

rehype-remove-meta-http-equiv

Build Coverage Downloads Size Sponsors Backers Chat

Remove meta[http-equiv=content-language] and meta[http-equiv=content-type] elements for shorter output.

Note: The missing white-space in the output is due to inikulin/parse5#150.

Install

npm:

npm install rehype-remove-meta-http-equiv

Example

In
<!doctype html>
<html lang="en-GB">
  <head>
    <meta charset="utf8">
    <meta http-equiv="content-type" content="text/html; charset=chinese">
    <meta http-equiv="content-language" content="en-US">
  </head>
  <body></body>
</html>
Out
<!doctype html><html lang="en-US"><head>
    <meta charset="chinese">
    
    
  </head>
  <body>
</body></html>

Contribute

See contributing.md in rehypejs/.github for ways to get started. See support.md for ways to get help.

This project has a code of conduct. By interacting with this repository, organization, or community you agree to abide by its terms.

License

MIT © Titus Wormer

Current Tags

  • 2.0.2                                ...           latest (4 months ago)

5 Versions

  • 2.0.2                                ...           4 months ago
  • 2.0.1                                ...           7 months ago
  • 2.0.0                                ...           a year ago
  • 1.0.1                                ...           a year ago
  • 1.0.0                                ...           4 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 3
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2016 © taobao.org |