Double translation of input bbcode

alfaguru - February 15, 2007 - 11:47
Project:Side Content
Version:4.7.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Here's the problem: I used sidecontent to add links and an image to the sidebar successfully but when I went to make an edit I found I was seeing the generated HTML rather than the original bbcode.

I had a look at the code and the line responsible seems to be this one, at line 191 of sidecontent.module.

$content_default = (empty($node->sidecontent)) ? '' : check_markup($node->sidecontent , $node->sidecontent_format);

The check_markup() call looks like the culprit. I've taken it out in my copy of the code and all seems well - I'm now seeing the bbcode I entered in the form.

#1

Robert Castelo - April 4, 2009 - 22:24
Status:active» fixed

Fixed in Side Content 5.x-1.1

#2

System Message - April 18, 2009 - 22:30
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.