htmlentitydecode or html_entity_decode?

or both can be used??

I have seen that the first is used in include/SugarFields/Fields/Address/DetailView.tpl and the second in include/SugarFields/Fields/Address/DetailView.tpl.

Hi.
The original function is the second one

html_etity_decode

Here is the detail

https://www.w3schools.com/php/func_string_html_entity_decode.asp

Thanks

1 Like

Thanks… I guess I should raise an issue or make a pull request on this… right?

You can raise the issue. But there is also a possibility that they have created there own custom function.

You can check from your browser console that this first function is defined somewhere or not…

Anyhow, you can report that.
Thanks

Some months ago I did opened an issue for that:
See: https://github.com/salesagility/SuiteCRM/issues/4920

Fixed here… but never merged:
https://github.com/salesagility/SuiteCRM/pull/5476

Note to self: Crowdin language files are OK!