only escape forward slashes when encode_html_chars=True

Addresses #110.