Repository navigation
1.2.0
1.2.0 (30. April 2019)
- #7 Makes sure input and attributes from delta is escaped before mixing it with html. Listeners should use
$line->getInput()instead of$line->inputto read input. This will properly escape if it is not done already. Values from attributes should be passed through$line->getLexer()->escape(). See the Color listener for an example of both. Obviously, escaping should be skipped in case a listener is meant to output raw html.
Thanks to @lode for his great effort in this PR.