Skip to content

Instantly share code, notes, and snippets.

@chregu
Created December 15, 2010 14:15
Show Gist options
  • Save chregu/741980 to your computer and use it in GitHub Desktop.
Save chregu/741980 to your computer and use it in GitHub Desktop.
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