Closed (fixed)
Project:
AdaptiveTheme
Version:
6.x-1.0-rc4
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Aug 2009 at 04:06 UTC
Updated:
19 Aug 2009 at 11:40 UTC
There's a minor escaping bug in templates/block/block.tpl.php, line 43 (this is version 6.x-1.0-rc4). The code reads:
$block->subject = str_replace($firstword, '<span class=\"first-word\">'. $firstword .'</span>', $block->subject); ?>
It should be:
$block->subject = str_replace($firstword, '<span class="first-word">'. $firstword .'</span>', $block->subject); ?>
without backslash escaping inside the single quotes (the literal backslashes currently carry through to the HTML output).
Comments
Comment #1
Jeff Burnz commentedThanks, fixed and committed!
RC5 is coming out today with this fix included and one other minor change - moving all the inc files into a subfolder and that its, RC5 is it, we go for release now by the end of week.