Skip to content

amark/normalize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9a85eee · Jan 31, 2019

History

4 Commits
Jan 30, 2019
Jan 30, 2019
Feb 15, 2014
Jan 30, 2019
Jan 30, 2019

Repository files navigation

normalize

Turn ugly

<p>
  <b>
    hi
  </b>
  <i>
    <b>
      yay!
    </b>
  </i>
</p>

into beautiful

<p>
  <b>
    hi 
    <i>
      yay!
    </i>
  </b>
</p>

With just a touch of

normalize(element, config);

Where config is optional, having pleasant defaults, but extendable for your amusement.

##API Docs coming soon! Peruse the source for now, it is decently tiny, and the built in config explains most of it. Depends upon the delightful jQuery.

Crafted with love by Mark Nadal, whom is not responsible for any liabilities from the use of this code.

About

Filter, sanitize, cleanse, and even diff your HTML.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published