Fix a typo in an htmlentities call.

Note that this reverts f2489057. That's not necessarily intentional, but we don't do that anywhere else and I suspect it was only added to "fix" the call, which was actually broken because it was typo'd.