<br/> even without teaser

s0l3x - April 27, 2006 - 04:41
Project:Taxonomy Block
Version:HEAD
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

I know its a small issue, but it breaks up the list and its an easy problem to solve.

Right now, the code (line 306) is:
$output .= '<br/>' . $teaser;

which will add a <br/> even when the teaser isn't there.

A simple workaround would be:

if($teaser){
      $output .= '<br/>' . $teaser;
}

#1

drewish - January 17, 2007 - 22:23
Status:active» reviewed & tested by the community

yeah this is a simple enough fix. i'll commit this patch once there's a 4.7 branch to commit to.

#2

drewish - January 17, 2007 - 22:23

forgot the patch ;)

AttachmentSize
taxonomy_block_60615.patch 736 bytes

#3

drewish - January 21, 2007 - 21:49
Status:reviewed & tested by the community» fixed

this has been committed to 4.7

#4

Anonymous - February 4, 2007 - 22:00
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.