Hey Anthony, 2008/12/15 Anthony Buck <[email protected]>: > Guys, > > Is there an elegant way of inserting an arbitrary string of html into a > page? Need to add some things for analytics...
You should use a WText, which gives you 2 options for arbitrary HTML: - using XHTMLUnsafeText TextFormat you can specify the HTML from within the code; - using the default XHTMLText, you can read the HTML from a resource file (which is always trusted). Note that you can use multiple resource files in an application, so you could dedicate one to this. Either approach has already been used for google analytics (in fact, XHTMLUnsafeText was contributed for it). Regards, koen ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
