Re #273 - Make URLs clickable in object display

* cleaned-up the mark-up
* re-factored the code that it outputs the result as one final string