Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ZenulAbidin/ppcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ppcode

A BBCode to HTML converter in Python

ppcode.py is a small library currently containing a set of classes to process BBCode into HTML. To use instantiate a ppcode.PPDecode object, pass a string to .decode and accept the HTML fragment as the return value.

test.bb and test2.bb were created to torture test the parsing, the main goal of the design of this system is to be highly resistent to malformed code, and to recover gracefully, in the end to create as intutivie environment for the user as possible, and to create as well-formed HTML as possible even in the face of unbalanced tags, etc.

About

A BBCode to HTML converter in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published