added html text encoding to display content for predecessor and successor names