Diff display fails showing text containing some entity characters like ×

Issue #3517 duplicate
Felipe Lima
created an issue

I changed the times character (×) by the × entity in one of my files. But the diff in BitBucket is not displaying correctly. It is converting the × into the times character (×) again.

See the following changeset: https://bitbucket.org/felipeptcho/wyfer/changeset/482b38de0f7a