Created
October 7, 2011 11:07
-
-
Save sdepold/1270079 to your computer and use it in GitHub Desktop.
strange behavior of image_tag
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tag("img", {:src => 'http://de.example.com?foo=bar&hello=world'}) | |
=> "<img src=\"http://de.example.com?foo=bar&hello=world\" />" | |
image_tag('http://de.example.com?foo=bar&hello=world') | |
=> "<img alt=\"De\" src=\"http://de.example.com?foo=bar&hello=world\" />" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment