Javascript code is shown when I enable a block in the header of the template. Any ideas why?

CommentFileSizeAuthor
#3 Snapshot.jpg142.47 KBIamPter

Comments

kbahey’s picture

Priority: Critical » Normal
Status: Active » Closed (fixed)

Check the order of your filters, under input formats.

IamPter’s picture

Status: Closed (fixed) » Postponed (maintainer needs more info)

What order should they be in? Currently they are in the default positions?

IamPter’s picture

StatusFileSize
new142.47 KB

I am also using one of the adsense supplied blocks and attached is a picture with the problem and the adsense filter is enabled.

kbahey’s picture

How come the javascript shows, yet the ad shows well too?

Can you check the HTML source when this happens and see if some special characters are being escaped?

darren oh’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)

This is a known issue with the Garland theme. There is a patch in issue 102252. It would be helpful to review that patch.