I'm trying to pull in another file with the following markup: <span tal:replace="here/level2banner">Level2banner content goes here</span> And it does pull the file in, but it quotes the entire HTML in that file so that my browser doesn't interpret it: <img src="/images/page2leftbottom-blank.jpg" width="331" height="39" border="0" class="banner" alt="Category"> This is not what I want. What am I doing wrong, or how to I prevent the quoting? David Cain Senior Web Developer, Information Systems Department Syracuse University Library Syracuse, New York 13244-2010 (315) 443-5923 mailto:dacain@library.syr.edu mailto:dacain@syr.edu
On March 11, David Cain wrote:
And it does pull the file in, but it quotes the entire HTML in that file so that my browser doesn't interpret it:
http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/AdvZPT.stx
Normally, the tal:replace and tal:content statements "quote" HTML tags and entities in the text that they insert. For instance, the the < character is "quoted" to <. If you actually want to insert "unquoted" text, you need to precede the expression with the structure keyword.
a. -- Adrian van den Dries adriand@flow.com.au Development team www.dev.flow.com.au FLOW Communications Pty. Ltd. www.flow.com.au
participants (2)
-
Adrian van den Dries -
David Cain