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:
parent
c8b709b374
commit
1a73eaab13
@ -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'));
|
||||
|
||||
Reference in New Issue
Block a user