tag:help-archives.hannonhill.com,2010-02-09:/discussions/general/16685-nesting-html-inside-of-an-anchor-tag-wiziwig-issueCascade CMS: Discussion 2018-10-18T20:37:02Ztag:help-archives.hannonhill.com,2010-02-09:Comment/304550142013-12-09T21:13:16Z2013-12-09T21:13:16ZNesting html inside of an anchor tag / WIZIWIG issue<div><p>Using the WIZIWIG, how come when I nest html inside an anchor
tag it rewrites the html and strips the anchor tag out?</p>
<p><strong>As an example:</strong></p>
<pre>
<code><a href="example.html">
<div>This is line one</div>
<div>this is line 2</div>
<div><img src="thisisanimage.jpg"></div>
</a></code>
</pre>
<p><strong>Once I hit submit it rewrites the html to:</strong></p>
<pre>
<code><div>This is line one</div>
<div>this is line 2</div>
<div><img src="thisisanimage.jpg" /></div></code>
</pre></div>bwmyerstag:help-archives.hannonhill.com,2010-02-09:Comment/304550142013-12-09T21:47:47Z2013-12-09T21:47:47ZNesting html inside of an anchor tag / WIZIWIG issue<div><p>Hi Bradley,</p>
<p>When you have a moment, scope out <a href=
"http://help.hannonhill.com/discussions/bug-reports/1205-div-inside-a-a-is-removed-722">
Tim's response on this discussion</a> for an explanation of this
behavior as well as a possible workaround using code sections.</p>
<p>Please let me know if you have any questions.</p>
<p>Thanks!</p></div>Ryan Griffithtag:help-archives.hannonhill.com,2010-02-09:Comment/304550142013-12-09T22:04:58Z2013-12-09T22:04:58ZNesting html inside of an anchor tag / WIZIWIG issue<div><p>Ah yes the cdata. Make sense. I just went in and reorganized my
html/css so it was valid. All is good on my end now. I was just
curious to see if there was a solution for future reference.
Thanks</p></div>bwmyers