OACS forums are trick in the same way rendering html tags
In order to replicate the bug here in this thread I put the tags and its codes between quotes. That way I can better clarify what errors I got
When I place it within an ad_proc I got the html tags converted to their correspondent entity code
"<"input type="checkbox" name="release_item_p" value="t" id="project_filter:elements:release_item_p:t"""">" "<"a href='/intranet-dynfield/attribute-new?attribute%5fid=29046&return%5furl=%2fintranet%2fprojects%2findex%3ffilter%255fadvanced%255fp%3d1%26return%255furl%3d%252fintranet%252fprojects%252f'">"<"img src='/intranet/images/navbar_default/wrench.png' border=0 title='' alt=''">""<"/a">"
On the other hand when placed directly within a .tcl page, it returns the correct html chunk as in
<input type="checkbox" name="release_item_p" value="t" id="project_filter:elements:release_item_p:t" > <a href='/intranet-dynfield/attribute-new?attribute%5fid=29046&return%5furl=%2fintranet%2fprojects%2findex%3ffilter%255fadvanced%255fp%3d1%26return%255furl%3d%252fintranet%252fprojects%252f'><img src='/intranet/images/navbar_default/wrench.png' border=0 title='' alt=''></a>