Added a automatic complient cleanup for the input stream on markdown