Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Check image parent before adding anchor

jamesincjamesinc Sydney ✭✭
edited September 2016 in Vanilla 2.0 - 2.8


I've encountered a case where Mediator is causing an issue. If a user wraps an image in an anchor, but the image's natural width is wider than the container's width, Mediator also wraps the image in an anchor, and you end up with an image inside an anchor inside another anchor.

Edit: Disregard this, I derped. This is actually Vanilla's core doing this in global.js. I somehow switched tabs and didn't notice O.o

Sign In or Register to comment.