Loading...
 
Skip to main content

HTML plugin does not work in articles

Status
Closed
Subject
HTML plugin does not work in articles
Version
12.x Regression
Category
  • Regression
Feature
Article
Resolution status
New
Submitted by
Jean-Marc Libs
Lastmod by
Jean-Marc Libs
Rating
(0)
Description

This was discovered on a Tiki12 upgraded from Tiki9 using wysiwyg, but the issue is also there with no wysiwyg.
I suppose we should first focus on the non-wysiwyg issue and there are chances it will also be solved in wysiwyg. So no more about wysiwyg

First, I remind how things should work, as all is fine in wiki pages

In HomePage, insert
{HTML()}<iframe src="http://www.musarama.org/en/widget/slideshow/key/269c31354b3770e5e96e8eccb1fec97ced34f0fc0b" width="480" height="300" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>{HTML}

Approve → OK
This works fine as I understand it should, and as it worked in Tiki 9. Meaning there is a nice iframe with images in it.
See: http://jyhem-9952-5156.show.tikiwiki.org/tiki-index.php

Second, I show the problem

Create new article and put inside
{HTML()}<iframe src="http://www.musarama.org/en/widget/slideshow/key/269c31354b3770e5e96e8eccb1fec97ced34f0fc0b" width="480" height="300" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>{HTML}
→ It asks for validation but on viewing, the content of the HTML plugin is wiped!
I see it is wiped by editing the article, and I see the HTML plugin is empty.

I try again, checking ''Allow full HTML (Keep any HTML tag.)
If not enabled, Tiki will retain some HTML tags (a, p, pre, img, hr, b, i).'' but that seems to be ignored.
In re-editing, it does not even stay checked.
Anyway, that should not be the way to do this. HTML plugin should not require to check Allow full HTML.

I attempt to insert my html code outside the HTML plugin but it still gets stripped out, even when checking Allow full HTML.
See: http://jyhem-9952-5156.show.tikiwiki.org/tiki-read_article.php?articleId=1

So right now there is no way to insert stuff in articles like they could 😑

Solution

Revision: 50124
http://sourceforge.net/p/tikiwiki/code/50124
Author: jyhem
Date: 2014-02-27 18:03:21 +0000 (Thu, 27 Feb 2014)
Log Message:
-------
FIX Fixes issue wish5156 (html plugin in articles) caused by revision r48131 (thanks jonny for the hint)

Importance
10 high
Priority
50
Demonstrate Bug on Tiki 19+
Please demonstrate your bug on show2.tiki.org
 About show2.tiki.org

To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.

Version: Create show2.tiki.org instance
Demonstrate Bug (older Tiki versions)
Please demonstrate your bug on show.tikiwiki.org
 About show.tikiwiki.org

To help developers solve the bug, we kindly request that you demonstrate your bug on a show.tikiwiki.org instance. To start, simply select a version and click on "Create show.tikiwiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show.tikiwiki.org.

Version: Create show.tikiwiki.org instance
Ticket ID
5156
Created
Wednesday 26 February, 2014 09:57:25 GMT-0000
by Jean-Marc Libs
LastModif
Friday 07 March, 2014 00:35:09 GMT-0000

Attachments

 filenamecreatedhitscommentversionfiletype 
No attachments for this item


Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki development and should correspond to documentation keywords.

Each feature in Tiki has a wiki page which regroups all the bugs, requests for enhancements, etc. It is somewhat a form of wiki-based project management. You can also express your interest in a feature by adding it to your profile. You can also try out the Dynamic filter.

Accessibility (WAI & 508)
Accounting
Administration
Ajax
Articles & Submissions
Backlinks
Banner
Batch
BigBlueButton audio/video/chat/screensharing
Blog
Bookmark
Browser Compatibility
Calendar
Category
Chat
Comment
Communication Center
Consistency
Contacts Address book
Contact us
Content template
Contribution
Cookie
Copyright
Credits
Custom Home (and Group Home Page)
Database MySQL - MyISAM
Database MySQL - InnoDB
Date and Time
Debugger Console
Diagram
Directory (of hyperlinks)
Documentation link from Tiki to doc.tiki.org (Help System)
Docs
DogFood
Draw -superseded by Diagram
Dynamic Content
Preferences
Dynamic Variable
External Authentication
FAQ
Featured links
Feeds (RSS)
File Gallery
Forum
Friendship Network (Community)
Gantt
Group
Groupmail
Help
History
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
jQuery
Kaltura video management
Kanban
Karma
Live Support
Logs (system & action)
Lost edit protection
Mail-in
Map
Menu
Meta Tag
Missing features
Visual Mapping
Mobile
Mods
Modules
MultiTiki
MyTiki
Newsletter
Notepad
OS independence (Non-Linux, Windows/IIS, Mac, BSD)
Organic Groups (Self-managed Teams)
Packages
Payment
PDF
Performance Speed / Load / Compression / Cache
Permission
Poll
Profiles
Quiz
Rating
Realname
Report
Revision Approval
Scheduler
Score
Search engine optimization (SEO)
Search
Security
Semantic links
Share
Shopping Cart
Shoutbox
Site Identity
Slideshow
Smarty Template
Social Networking
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Staging and Approval
Stats
Survey
Syntax Highlighter (Codemirror)
Tablesorter
Tags
Task
Tell a Friend
Terms and Conditions
Theme
TikiTests
Federated Timesheets
Token Access
Toolbar (Quicktags)
Tours
Trackers
TRIM
User Administration
User Files
User Menu
Watch
Webmail and Groupmail
WebServices
Wiki History, page rename, etc
Wiki plugins extends basic syntax
Wiki syntax text area, parser, etc
Wiki structure (book and table of content)
Workspace and perspectives
WYSIWTSN
WYSIWYCA
WYSIWYG
XMLRPC
XMPP




Useful Tools