Fix an issue with escaping of inline markup