Shell scripts with quotes in them

My access to the application "Terminal’ has been cut off because of parental controls :(:(:(:(:(:(:(:(:frowning:
I was wondering how you could to the shell script “defaults write persistent-apps -array-add ‘{tile-data={}; tile-type=“spacer-tile”;}’”. I cannot use this because it has double qoutes in it
any suggestions?
Thanks in advance

PS the shell script adds dock spacers

PSS IF i download LeopardDocks App it says i cant b/c of parental controls

this works for me…

do shell script "defaults write persistent-apps -array-add '{tile-data={}; tile-type=\"spacer-tile\";}'"
do shell script "killall Dock"


Browser: Safari 525.27.1
Operating System: Mac OS X (10.5)

From the documentation for the text class:

From Technical Note TN2065: do shell script in AppleScript: