Fix a bug in markup