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
This commit is contained in:
David Arranz 2013-09-10 16:48:41 +00:00
parent c8b709b374
commit 1a73eaab13

View File

@ -88,9 +88,9 @@
$content = trim(get_the_content());
if (strlen($content)) {
$description .= '<br/>';
$description .= $content;
$description .= strip_tags($content);
}
if (has_post_thumbnail()) {
$attr = array('alt' => $description,
'title' => the_title_attribute('echo=0'));