[bug fix]: u_name changed to page_ref
function html_entity_decode replaced with decode_text_content