bulletprooflist

0.0.3 • Public • Published

bulletprooflist

A universal tool to convert unordered and ordered lists in HTML file to bulletproof email HTML list by changing ul, ol and li elements to nested tables to consistent email client rendered view.

INSTALLATION

npm install bulletproofList

USAGE:

var createBulletproofList = require("bulletproofList");
 var yourHtml = "<h1>Your HTML</h1><ul><li>goes</li><li>here.</li></ul>";

var OutputWithBulletproofList = createBulletproofList(yourHtml);

yourHtml is the input HTML string

returns OutputWithBulletproofList containing the same text as in yourHtml, but with list converted to bulletproof email HTML list

Package Sidebar

Install

npm i bulletprooflist

Weekly Downloads

6

Version

0.0.3

License

MIT

Unpacked Size

2.48 MB

Total Files

38

Last publish

Collaborators

  • edmdesigner-bot