<p>for example this code</p>

<pre><code>var html = "&lt;p&gt;This text is &lt;a href=#&gt; good&lt;/a&gt;&lt;/p&gt;";
var newNode = Builder.node('div',{className: 'test'},[html]);
$('placeholder').update(newNode);
</code></pre>

<p>casues the p and a tags to be shown,  how do I prevent them from being escaped?</p>

[{'answer_id': 71371, 'author': 'Leo Lännenmäki', 'author_id': 2451, 'author_profile': 'https://Stackoverflow.com/users/2451', 'pm_score': 3, 'selected': True, 'text': '<p>The last parameter to Builder.node is "Array, List of other nodes to be appended as children" according to the <a href="http://github.com/madrobby/scriptaculous/wikis/builder" rel="nofollow noreferrer">Wiki</a>. So when you pass it a string it is treated like text.</p>\n\n<p>You could use:</p>\n\n<pre><code>var a = Builder.node(\'div\').update("&lt;a href=\'#\'&gt;foo&lt;/a&gt;")\n</code></pre>\n\n<p>Where the link is text or:</p>\n\n<pre><code>var a = Builder.node(\'div\', {\'class\':\'cool\'}, \n         [Builder.node(\'div\', {\'class\': \'another_div\'})]\n        );\n</code></pre>\n\n<p>And you could use just Prototypes <a href="http://www.prototypejs.org/api/element" rel="nofollow noreferrer">new Element()</a> (Available as of version 1.6).</p>\n\n<pre><code>var a = new Element(\'div\').insert(\n          new Element(\'div\', {\'class\': \'inner_div\'}).update("Text in the inner div")\n        );\n</code></pre>\n'}, {'answer_id': 1360798, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 0, 'selected': False, 'text': '<p>You can use this solution: <a href="http://sviudes.blogspot.com/2009/08/como-usar-etiquetas-html-con.html" rel="nofollow noreferrer">http://sviudes.blogspot.com/2009/08/como-usar-etiquetas-html-con.html</a></p>\n'}]
['https://Stackoverflow.com/questions/71309', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/6892/']