fixed for redcarpet to avoid converting inside of script