another fix to link rendering (remove <code> tags from custom text)