Skip to content

abstractvector/node-wpautop

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.js wpautop()

Build Status

Node.js port of Wordpress' wpautop() function based on the sourcecode at http://develop.svn.wordpress.org/trunk/src/wp-includes/formatting.php

Also contains ports of the test suite from http://develop.svn.wordpress.org/trunk/tests/phpunit/tests/formatting/Autop.php

"Hilarious" toilet humour copied verbatim from the WordPress sourcecode. No attempt has been made to clean the function up or make it "better". This is a rough and ready port, warts and all.

Thanks goes to @stewiem2000 for emotional support during regular expression meltdowns.

About

A Node.js port of Wordpress' wpautop() function

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%