in case that happens with something else all you need to do is something like this.

s = open(file).read()
s.replace('&lt;','<')

although the -h it's a better way inthis case

On 2/20/06, sergio <[EMAIL PROTECTED]> wrote:

i have a few templates that were built by designers here..

most were built in photoshop, so the html is pretty wonky..

i have found that a run through htmltidy fixes alot of things, and everything looks good afterward..

except..

it leaves &nbsp; in there, where photoshop has sliced up an image and made a table out of it..

when i try to run a template with &nbsp, i crash and burn..

anyone have any ideas?

thanks!

___

peace,

sergio

photographer, journalist, visionary

www.coffee-black.com







--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to