Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for Duplicate image src attributes in TinyMCE #72

Closed
wants to merge 1 commit into from
Closed

Fix for Duplicate image src attributes in TinyMCE #72

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Aug 2, 2013

This is a correction for the problem that is being discussed in the forum on Our at http://our.umbraco.org/forum/ourumb-dev-forum/bugs/39052-Duplicate-image-src-attributes

When an image could not be re-sized, its src attribute was being doubled. The attribute would be added in the catch clause of the relevant exception, and then it would also be re-added further down in the same method where the code is:

// Build image tag
foreach (var attr in allowedAttributes)
...

By commenting out the line of the catch clause which adds the src attribute, the issue has been resolved on my machine.

Please note that it is hard to reproduce this problem because the double src attribute does not actually appear in TinyMCE so there is no way to see it from there. The html source of the page needs to be reviewed.

@nul800sebastiaan
Copy link
Member

Apologies for closing this pull request, I was removing branches and as this pull request was intended for the 6.1.4 branch it was automatically closed by GitHub.

I'm looking into how we can re-open the pull requests that were accidentally closed.

@ghost
Copy link
Author

ghost commented Aug 23, 2013

No worries, either way. I just hope that the info about why the double src attribute problem still occurs can help you guys fix it.

Happy releases! 🎱

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant