fixes #1 htmlencode/htmldecode