[ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Advanced Page Templates
Thu, 03 Oct 2002 11:16:19 -0400
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AdvZPT.stx#4-2
This feature is useful when you are inserting a fragment of
HTML or XML that is stored in a property or generated by
another Zope object. For instance, you may have news items
that contain simple HTML markup such as bold and italic text
when they are rendered, and you want to preserve this when
inserting them into a "Top News" page. In this case, you
<p tal:repeat="newsItem here/topNews"
A news item with<code>HTML</code> markup.
% Anonymous User - July 25, 2002 4:53 am:
> A news item with<code>HTML</code> markup.
Insert a space after "with".
% Anonymous User - Oct. 3, 2002 11:16 am:
I'm unclear as to the necessity of the <code> tag and how it operates. Is this simply some of the text that
is substituted by the tal:repeat tag, or is it its own entity? This is confusing...