On Jun 9, 11:35 am, "Noah Kantrowitz" <[email protected]> wrote:
> The Include macro does this, with the appropriate flags set.
>
> Disclaimer: May cause security holes and CSRF/XSS attacks.
>
> --Noah

Dan,

FWIW, depending on your need, you may need to modify the include
macro. I fought with it a bit this last weekend.

There is no way to say "get me the content (body) of the HTML page at
XXXX", so you only get to render the entire page, including <head />
section. Since <html /> is not considered "safe" by Genshi, the net
effect is nothing is rendered. (It might be if you enable
render_unsafe_html, but I that is not something I've explored)

There are a number of patches posted to address the issue, if your
needs aren't met out-of-the-box.

--Hal

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to