solved the HTML entity codes conversion issue

solved the HTML entity codes conversion issue after update to new
version of AMG.