diff options
Diffstat (limited to 'kjsembed/docs/examples/html2text/html2text.js')
-rw-r--r-- | kjsembed/docs/examples/html2text/html2text.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/kjsembed/docs/examples/html2text/html2text.js b/kjsembed/docs/examples/html2text/html2text.js new file mode 100644 index 00000000..a8d6dd9a --- /dev/null +++ b/kjsembed/docs/examples/html2text/html2text.js @@ -0,0 +1,7 @@ +Factory.load('html2text_plugin.js'); + +var line = readLine(); +while ( line != null ) { + print( html2text(line) ); + line = readLine(); +} |