Fix bug #6 (altered check 'x in [None]' to 'x is None') and add html escaping for line output.
Merge pull request #7 from shamcode/master

Fix bug #6 (altered check 'x in [None]' to 'x is None') and add html escaping for line output.