Fix quotes conflicts in templates