Fixed markdown script for RedCarpet 3.1.1