Changeset 1461
- Timestamp:
- 06/16/06 16:05:50 (2 years ago)
- Files:
-
- trunk/lib/config/sfViewConfigHandler.class.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/config/sfViewConfigHandler.class.php
r1451 r1461 226 226 foreach ($this->mergeConfigValue('http_metas', $viewName) as $httpequiv => $content) 227 227 { 228 $data[] = sprintf(" \$response->addHttpMeta('%s', '%s', false);", $httpequiv, $content);228 $data[] = sprintf(" \$response->addHttpMeta('%s', '%s', false);", $httpequiv, str_replace('\'', '\\\'', $content)); 229 229 } 230 230 231 231 foreach ($this->mergeConfigValue('metas', $viewName) as $name => $content) 232 232 { 233 $data[] = sprintf(" \$response->addMeta('%s', '%s', false);", $name, $content);233 $data[] = sprintf(" \$response->addMeta('%s', '%s', false);", $name, str_replace('\'', '\\\'', $content)); 234 234 } 235 235