Re: how to get unescaped $body?

will guaraldi <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
It's an icky side-effect of how we deal with RSS output which is also xml. 
In the blosxom renderer, when we notice the output content-type is xml, we 
escape the body.

It's a hack, but up to now no one has figured out a better way to deal 
with flavours...  Though, it occurs to me we could just have a 
body_escaped variable and store the escaped version there for RSS feeds to 
use.

Try that out and see if it works for you without hosing your feeds.  If it 
works well, then I'll adjust it and put out a new PyBlosxom version.

/will


On Sun, 24 Jul 2005, martin f krafft wrote:
> 
> I am using the RST parser and trying to output application/xml (atom
> feed). RST returns proper HTML, but somewhere after the
> cb_postformat stage, this HTML is being escaped, so that the result
> is &lt;p&gt; instead of <p>.
>
> How can I prevent/override this? I want $body to contain the pure
> HTML, not an escaped version of it.
>
> Thanks,


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.