Use Markup to avoid using 'safe' filter in the templates
Remove 'safe' filters. Add 'linkbugs' to the history table