Adapt bug for markdown