Created
April 29, 2014 12:18
-
-
Save dbernar1/11398545 to your computer and use it in GitHub Desktop.
Inline PHP tags test for core/test_html_escaping.rb
This file contains 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
def test_html_unescaped_php_tags | |
source = %q{ | |
a href="<?php echo $url ?>" | |
} | |
assert_html '<a href="<?php echo $url ?>"></a>', source | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment