Remove magic quotes from templating section.