0.4.0 • Published 2 years ago

htmltiny v0.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@sk-global/a11y-converter

Convert original HTML codes to a11y HTML

Reference:

What exactly does it do?

  • Fixes or removes non-well formed tags and attributes (e.g. adds alt attributes to images if missing)
  • Converts the markup to HTML5 (if it is XHTML for example)
  • Reduces the markup to: <a href>, <body>, <h1>, <h2>, <h3>, <h4>, <h5>, <h6>, <head>, <hr>, <html>, <i>, <img src width height alt>, <li>, <ol>, <p>, <ruby>, <strong>, <table>, <tbody>, <td colspan rowspan>, <th colspan rowspan>, <title>, <tr>, <ul>
  • Replaces: <b> to <strong>, <div> to <p>
  • Reformats the HTML (line breaks, indents)
0.4.0

2 years ago

0.3.1

2 years ago

0.3.0

2 years ago

0.2.23

2 years ago

0.2.22

2 years ago

0.2.21

2 years ago

0.2.2

2 years ago

0.2.0

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago