HTML characters from Custom field in Subject are encoded incorrectly

Description

If a custom field contains accented HTML characters, then subject is generated incorrectly,

like:
Simple text custom field contains this: Test áíőű<b>test</b>
Then subject will become this: Test &#xE1;&#xED;őű&lt;b&gt;test&lt;/b&gt;

Environment

None

Preliminary Test Cases

None

Assignee

László Csekő

Reporter

Daniel Marczisovszky [META-INF]

Labels

T-shirt size

None

Product platform

None

Feature Testing Estimate

None

Ready for Development

None

Time tracking

4h

Sprint

None

Fix versions

Priority

Major
Configure