Skip to content

amark/normalize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

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