Escape single quotes in attributes
authorMax Semenik <maxsem.wiki@gmail.com>
Wed, 8 Nov 2017 01:45:56 +0000 (17:45 -0800)
committerMax Semenik <maxsem.wiki@gmail.com>
Wed, 8 Nov 2017 23:17:47 +0000 (15:17 -0800)
commit47416c0a862fbbdb58b5942a3118f220546878da
tree36ecd0090cc1da9d8c74094f59ed42cd27072924
parent19014615a91f34fe1846bc658883a09b6e851e38
Escape single quotes in attributes

Replaces a long excuse in Html class not to call
Sanitizer::encodeAttribute() with a call to it.
In anything security related, excuses are a sign that you're doing
something wrong:)

Change-Id: Icf7f60d8cd6ea757d8f1999d638b82733001f68a
includes/Html.php
tests/parser/parserTests.txt