Fullscreen
Loading...
 
Skip to main content

TikiWiki Breaks Javascript code in Banner HTML code box

Status
Open
Subject
TikiWiki Breaks Javascript code in Banner HTML code box
Version
12.x
Category
  • Regression
Feature
Admin Interface (UI)
Resolution status
New
Submitted by
auri
Lastmod by
auri
Rating
(0)
Description

I just downloaded and installed TikiWiki yesterday (tiki-12.0.zip), and have already found this bug. When I insert my AdSense Javascript code into a banner, so that I can use it in a module as described under "Banners Method" on this page: https://doc.tiki.org/AdSenseQuestion, I run into a problem.

Specifically, TikiWiki inserts a into the "script" at the beginning and end of my Javascript code. As you might expect, this prevents the ads from displaying correctly, and instead a text string of most of the script is displayed.

According to this much earlier wish: https://dev.tiki.org/item1848Question this was fixed way back in version 4.x, so I have marked this as a regression.

I don't currently have this module enabled (because it makes the site ugly) but if you'd like to view it in action, just let me know, and I'll re-enable it for you.

Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
5200
Created
Saturday 26 April, 2014 18:53:24 UTC
by auri
LastModif
Saturday 26 April, 2014 18:53:24 UTC


Show PHP error messages