Plain Text Convertor
This plugin takes html or rtf text and converts it to plain text
Description
Description:
This plugin takes html or rtf text and converts it to plain text
Example:
This call would return the text of "Test Convertor", stripping out all the HTML.
#getMyPlugin("plaintextconvertor").convert("<p><a href='text.htm'>Test Convertor</a></p>")#
Arguments for the convert function:
text: REQUIRED The text to convert
format: either html or rtf, defaults to html. This is what format your incoming text argument is in.
This plugin uses the Java Swing library. Thanks to Ernst van der Linden for the inspiration.
http://evdlinden.behindthe.net/index.cfm/2011/1/12/Convert-RTF-to-Plain-TEXTJava-Swing-rescue
Installation Instructions
Drop in your plugins folder or coldbox extensions location
Menu
Forge Entry Types


