Download & Extend

Double translation of input bbcode

Project:Side Content
Version:4.7.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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.

Comments

#1

Status:active» fixed

Fixed in Side Content 5.x-1.1

#2

Status:fixed» closed (fixed)

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