While I am trying Wiki20, it seems publish_parts is not formatting
text properly.

For example, if I type

Hi,
How are you?

in a page, it shows

Hi, How are you?

Also, it does not seem to consider multiple spaces and newlines.

The code, taken from http://docs.turbogears.org/1.1/RoughDocs/Wiki20/Page2,
is given below:

page = Page.get_by(pagename=pagename)
        content = publish_parts(page.data,
            writer_name="html")['html_body']

Am I doing something wrong? If not, wondering what can be a workaround
for this.

thanks
Ranjan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to