From 1a73eaab13fe497ee04d64b51e51ef80efe78c63 Mon Sep 17 00:00:00 2001 From: david Date: Tue, 10 Sep 2013 16:48:41 +0000 Subject: [PATCH] Arreglado problema cuando el contenido de un producto tiene etiquetas HTML. git-svn-id: https://192.168.0.254/svn/Proyectos.OriginalHouse_Web/trunk@73 54e8636e-a86c-764f-903d-b964358a1ae2 --- src/wp-content/themes/originalhouse/loop-tcp-grid.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-content/themes/originalhouse/loop-tcp-grid.php b/src/wp-content/themes/originalhouse/loop-tcp-grid.php index ebd7208..11f14da 100644 --- a/src/wp-content/themes/originalhouse/loop-tcp-grid.php +++ b/src/wp-content/themes/originalhouse/loop-tcp-grid.php @@ -88,9 +88,9 @@ $content = trim(get_the_content()); if (strlen($content)) { $description .= '
'; - $description .= $content; + $description .= strip_tags($content); } - + if (has_post_thumbnail()) { $attr = array('alt' => $description, 'title' => the_title_attribute('echo=0'));