Created
July 2, 2009 08:25
-
-
Save yaroslav/139366 to your computer and use it in GitHub Desktop.
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
# Fix for builder: stop escaping all UTF-8 characters, just use h() | |
class String | |
def to_xs | |
ERB::Util.html_escape self | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment