SkillAgentSearch skills...

Normalize

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

Install / Use

/learn @amark/Normalize
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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.

View on GitHub
GitHub Stars19
CategoryDevelopment
Updated4mo ago
Forks7

Languages

JavaScript

Security Score

72/100

Audited on Nov 17, 2025

No findings