Created
December 15, 2010 14:15
-
-
Save chregu/741980 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/Application/ImportBundle/Component/Article.php b/src/Application/ImportBundle/Component/Article.php | |
index 9d42333..0342f72 100644 | |
--- a/src/Application/ImportBundle/Component/Article.php | |
+++ b/src/Application/ImportBundle/Component/Article.php | |
@@ -262,7 +262,8 @@ class Article | |
*/ | |
protected function normalizeDescription($text) | |
{ | |
- $text = html_entity_decode($text); | |
+ $text = "<![CDATA[".$text. "]]>";; | |
+ return $text; | |
return trim(strip_tags($text)); | |
} | |
diff --git a/src/Bundle/JackalopeBundle b/src/Bundle/JackalopeBundle | |
index 60e85f3..5ac430f 160000 | |
--- a/src/Bundle/JackalopeBundle | |
+++ b/src/Bundle/JackalopeBundle | |
@@ -1 +1 @@ | |
-Subproject commit 60e85f32a61e06cbdc2d999b0f87418a04ecec9f | |
+Subproject commit 5ac430f469fd8f3becfac435f1f7338fb1db295b |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment