We can preserve our string using CDATA section: <![CDATA[ ...our string here... ]]> CDATA Section Blogger uses XHTML . It is an application of XML which extends the functionality of HTML so that it can operate with the custom data provided from the server. Such as the <b:widget> , <data:post.title/> , <b:loop> , <b:if> and other Blogger data tags. The string within the <![CDATA[ ]]> (Character Data) section will be interpreted as only character data , not markup. This is the definition . The Forbidden Characters < (less than character) > (greater than character) & (and character) The double quotes (") and single quote (') in Blogger template will be automatically replaced by " and ' , respectively. Usage in Script Tag The script tag (JavaScript) can be placed anywhere in the head or in the body section of a Blogger blog, depends on what's the purpose of that part...