Last active
August 29, 2015 14:22
-
-
Save mrroot5/e3d6a2893e23fb0a1d27 to your computer and use it in GitHub Desktop.
Imprimimos código HTML visible desde la web, evitando que las entidades HTML actúen como tal.
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
http://jsfiddle.net/odxg8tfu/ |
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
$(document).ready(function () { | |
$('#code').text('<div class="foo">Mi HTML sin filtrar</div>'); | |
}); |
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
<div id="code"></div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment