clean some shortcodes code - newlines and spaces