cern-hackdays/lmb — pull request #17 by tobymackenzie (2014-01-05 05:22:43+00:00)
Title: properly handle script and style tags so they are rendered as they should be

My attempt at fixing issue #16, wherein script and style tags are not rendered as they should be. My (test)[http://tobymackenzie.com/examples/html/scriptAndStyle.html] mostly comes out as expected, though a bit of the comments from one of the CDATA style comment wrappers is showing up. I'm not sure if this is what would happen in actual line mode or not.

The changes to prepare.js are the important ones for the node served lmb. The changes to linemodethis.js are apparently for a bookmarklet, though I'm not sure how to use it.

This is my first pull request, so let me know if I'm doing something wrong.