Fixing markup text