make markdown safe