fixed urlencoding of quotes (to validate as html5)

Quotes were escaped with `&quot;` (html encoding) while they should be escaped with `%22` (url encoding). This prevented pi-base from being validated by the W3C validator as valid HTML5.