I wonder if this could be:

```ruby
context.image_tag "emoji/#{$1}.png", :alt => $1, :style => 'vertical-align: middle', :size => '20x20'
```