Kevin, I'll work on this some more tomorrow, but I think you can do
this. In markups.php, line 788, change:

        if (isset($args['http']) && BOLTfilter($args['http'],
'/^\/\/[-_a-zA-Z0-9.\/]+\.(jpg|gif|png)$/') != '') return
BOLTescape("<img src='http:$args[http]' $attr />");

to

        if (isset($args['http']) && BOLTfilter($args['http'],
'/^\/\/[-_a-zA-Z0-9.\/]+\.(jpg|gif|png)$/') != '') {
                foreach($args as $f => $v) {
                        if (! in_array($f, BOLTattrs('img'))) continue;
                        $attr .= "$f='$v' ";
                        }
                return BOLTescape("<img src='http:$args[http]' $attr />");
                }

The code looks a little convoluted to me right at the moment. Maybe
I'm just tired, or could use some rewriting.  I'll wait till I'm a bit
more refreshed...

Cheers,
Dan

On Sun, Oct 18, 2009 at 3:51 PM, Kevin <[email protected]> wrote:
>
> 3.2.7 appears to have broken image attachments that are URL's.
>
> [^someimage.png class=right^]
>
> Works.. outputs:
>
> <img src='someimage.gif' class='right' alt='' width="140" height="192" />
>
> But using a url pointing to an image does not...
>
> [^http://somesite/someimage.png class=right^]
>
> Outputs:
>
> <img src='http://somesite/someimage.gif'  />
>
> Missing class size, alt etc...
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to