diff options
author | Paul Arthur <paul.arthur@flowerysong.com> | 2011-08-04 01:01:03 -0400 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2011-08-04 01:01:03 -0400 |
commit | c5fa9a6d4bd096c1929dfa23457b09b5259770be (patch) | |
tree | 2f66ee81754e53f2d564c66883411c13c72f4642 | |
parent | 9ecedf3ec811c758e26cd51ee3af715a88542ac1 (diff) | |
download | ampache-c5fa9a6d4bd096c1929dfa23457b09b5259770be.tar.gz ampache-c5fa9a6d4bd096c1929dfa23457b09b5259770be.tar.bz2 ampache-c5fa9a6d4bd096c1929dfa23457b09b5259770be.zip |
catalog_update.inc: also translate HTML entities
-rw-r--r-- | bin/catalog_update.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/catalog_update.inc b/bin/catalog_update.inc index c24c3b97..e30917ef 100644 --- a/bin/catalog_update.inc +++ b/bin/catalog_update.inc @@ -157,6 +157,7 @@ function ob_html_strip($string) { //$string = preg_replace("/update_.+/","",$string); $string = str_replace('<br />', "\n", $string); $string = strip_tags($string); + $string = html_entity_decode($string); $string = preg_replace("/[\r\n]+[\s\t]*[\r\n]+/","\n",$string); $string = trim($string); return $string; |