radiant/radiant-clipped-extension — Issue #53: r:asset tag is broken in lib/asset_tags.rb (proposed fix)
Author: joshie
Created: 2011-12-04 20:29:34+00:00
State: open

when using bar, there is breakage

This is fixed for me with the following modification to line 17 in lib/asset_tags.rb
```ruby
tag 'asset' do |tag|
tag.locals.asset = find_asset unless tag.attr.empty?
```
to
```ruby
tag 'asset' do |tag|
tag.locals.asset, options = asset_and_options(tag) unless tag.attr.empty?
```

... At least for me. I don't have a firm enough grasp on the code to know if there are any negatives to this fix.