Ticket #1 (assigned defect)

Opened 9 months ago

Last modified 9 months ago

strip_tags() the description in categories' title="" attribute

Reported by: admin Assigned to: abernier (accepted)
Priority: minor Milestone: Release 0.98.1
Component: Front-end Version: 0.98.0
Keywords: frontpage Cc:

Description

In the frontpage, in the title="" attribute, HTML tags are not stripped from the category's description.

In components/com_hotproperty/hotproperty.html.php (line 1237), need to strip_tags() the description:

<?php
echo '<li class="con_types3"><a class="types_title" title="'.strip_tags($child->desc).'" href="'.sefRelToAbs("index.php?option=com_hotproperty&task=viewtype&id=$child->id&Itemid=$Itemid").'">'.$child->name.'</a>'.$nbr.'<br />';
?>

Attachments

Change History

04/23/08 19:18:42 changed by admin

  • owner changed from abernier to admin.
  • status changed from new to assigned.

04/23/08 19:18:56 changed by admin

  • owner changed from admin to abernier.
  • status changed from assigned to new.

04/23/08 19:19:24 changed by abernier

  • status changed from new to assigned.

Add/Change #1 (strip_tags() the description in categories' title="" attribute)




Change Properties
Action