Closed tremby closed 10 years ago
Ignore for now -- I neglected linked images. Working on that at the moment...
Should now be good to go.
If there are any other places where links are rendered other than in HyperlinkSpan
and ImageView
, I haven't added this logic there. Can you think of any others?
Nope, I believe there is nowhere else!
This is definitely a cleaner way, thanks a lot for this!
Treat the link as broken if the LinkResolver returns null. This allows the application developer to decide when a link is broken (which may depend on context, as well as on
$link->isBroken()
), and log an error if they like.FakeLinkResolver has been updated to return null when
$link->isBroken()
is true.Behaviour before this patch was to render
<a href="">link text</a>
.This fixes issue #21