Jump to:
| Project: | Image Assist |
| Version: | 6.x-3.x-dev |
| Component: | Wysiwyg API Plugin |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed (duplicate) |
Issue Summary
Hey there everyone,
I'm having a problem with what I think is a bug in the latest dev version of the ImageAssist plugin. This problems seems only to affect Internet Explorer... the behaviour I describe below doesn't occur in Firefox, Safari, Opera or Chrome on a Windows PC.
When I edit a node, the Wysiwig editor loads and it seems to filter and alter my HTML tags and node links. It's only happenening when the wysiwig editor lodas AND imageassist button is enabled. If I disable the imageassist button in the profile, I can switch TinyMCE on and off without the problem.
eg. Edit node, don't load TinyMCE and the node content looks like this:
<ul>
<li><a href="#what">What can I study</a></li>
<li><a href="#why">Why study? </a></li>
<li><a href="#how">How do I apply?</a></li>
<li><a href="node/419">Students</a></li>
<li><a href="node/445">Studentships</a></li>
<li><a href="http://test.url.link">test</a></li>
</ul>
<p><a name="what"></a></p>if I toggle the editor on, then off again the node content now looks like this:
<UL>
<LI><A href="http://localhost/node/17/edit#what">What can I study?</A></LI>
<LI><A href="http://localhost/node/17/edit#why">Why study? </A></LI>
<LI><A href="http://localhost/node/17/edit#how">How do I apply?</A></LI>
<LI><A href="http://localhost/node/17/node/419">Students</A></LI>
<LI><A href="http://localhost/node/17/node/445">Studentships</A></LI></UL>
<LI><A href="http://test.url.link/">test</A></LI></UL>
<P><A name=what></A></P>What seems to happen is when the WYSIWIG editor/Imageassist plugin loads, it filters the node content so that:
1. all HTML tags are converted to UPPERCASE, and
2. relative node links get prepended with the domain (localhost, or my live server domain) and the current node/number.
3. for #anchor links the node's /edit URL is prepended.
4. Links that begin with http:// are not changed.
I've cleared browser and drupal caches, deleted/disabled settings on the WYSIWIG API profiles, and trial and error led me to the ImageAssist plugin. When I toggle the button on and off in my WYSIWIG profile the problem starts and stops.
Has anyone else experienced this bug?
Module versions:
- Imgassist 6.x-3.x-dev (2009-Aug-14)
- WYSIWISG 6.x-2.0
- TinyMCE 3.2.7
- Drupal 6.13
Comments
#1
Yes, I have experienced a similar issue. I will check if it still happens and with what browser.
#2
subscribe - same here plus images resizes to a very small standard format.
#3
Thanks for taking the time to report this issue.
However, marking as duplicate of #510552: Invalid XHTML: missing trailing slashes, absolute urls and uppercase tags. You can follow up on that issue to track its status instead. If any information from this issue is missing in the other issue, please make sure you provide it over there.