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
- 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 wysiwygFirst, 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.phpSecond, 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=1So 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+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 5156
- Created
- Wednesday 26 February, 2014 09:57:25 UTC
by Jean-Marc Libs - LastModif
- Friday 07 March, 2014 00:35:09 UTC