Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.

EDMdesigner/bulletprooflist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published