First You have to disable any editor at global configuration, opt for 'No WYSIWYG Editor instead. After go to Modules >Site > New Modules > and paste. You will get code as online very well. Then Publish it to the appropriate position. I hope that It would be fruitful for you.