You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdebindings/kjsembed/docs/examples/html2text/text2html.js

10 lines
168 B

#!/usr/bin/env kjscmd
Factory.load('html2text_plugin.js');
var line = readLine();
while ( line != null ) {
print( text2html(line) );
line = readLine();
}