Project:Image Assist
Version:5.x-1.8
Component:Wysiwyg API Plugin
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

I have an image that has a link to a url with ?key=value. The filter-tag parsing causes this to be parsed incorrectly in tinymce. The = in my url and everything after are truncated on page load, so that if I save, the mistake is propogated to the database.

I have a fix.

This fix works in 5.x-1.8. Now, according to #304869: Equal sign in macro parameter value breaks rendered display, this problem also exists in 6.x-2.x-dev, but I looked at the code of 6.x-2.0-alpha4, and it uses an approach similar to mine. So either it has been fixed in 6.x-2.0 since that post was made, or the differences between my approach and the one there are enough to break it.

So, this patch works in 5.x-1.8. I didn't test 6.x-2.0, but if that's still broken, this approach could be considered for that as well.

AttachmentSize
img_assist_filter_parser.diff1.33 KB

Comments

#1

Status:needs review» closed (duplicate)

Thanks for taking the time to report this issue.

However, marking as duplicate of #304869: Equal sign in macro parameter value breaks rendered display. 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.

If you are new to drupal.org, it would help us if you would search for existing issues before submitting a new one. We strongly advise you search using the drupal.org search facility, because it really is very good. NOT a third party search engine (e.g. Google) as you may well not find what you are looking for.