Issue titles don't escape valid entities: < shows as <
Created by: cirosantilli
When I write:
<
On the issue title, I expect it to render as:
&lt;
but it currently renders:
<
This only happens for valid entities, e.g. &asdf;
renders as &asdf;
as expected: I think the problem is with the escape_once
at: https://github.com/gitlabhq/gitlabhq/pull/8329. Couldn't we use html_escape
instead?
The best behaviour in fact would be to have no markdown magic like references nor emoji on titles because it is not possible to escape them like it is on normal markdown.