In some cases, you can avoid the overlapping quotes syndrome by using single ' and double " quotes for container and content. In this case, there are too many levels of quote nesting, and you will need to escape the quotes with a backslash, like this \' .