Patch for span issue

Jason Ruyle - October 8, 2009 - 19:08
Project:Devel
Version:6.x-1.18
Component:devel_themer
Category:bug report
Priority:normal
Assigned:Jason Ruyle
Status:needs review
Description

Not sure if this has been fixed, but in the 6.x-1.8 version I was having issues with the span tag breaking my apachesolr links.
Attached is a patch to fix.

AttachmentSize
devel_themer_nl2br.patch470 bytes

#1

Jason Ruyle - October 8, 2009 - 19:11
Version:6.x-1.8» 6.x-1.18

meant to have it be 18 not 8

#2

Kai - November 10, 2009 - 17:41

This patch doesn't work :)

warning: Wrong parameter count for nl2br() in .../sites/all/modules/devel/devel_themer.module on line 507.

devel_theme_call_marker function has to return an array with to fields: Line 235 list($prefix, $suffix) = devel_theme_call_marker
nl2br() doesn't return an array and just let this term be true: if ($start_return != $start_prefix ...

 
 

Drupal is a registered trademark of Dries Buytaert.