[Twisted-Python] Woven and non-breaking spaces

Eric Holm twisted at eholm.com
Mon May 19 19:02:08 MDT 2003


>> theModel = { "someData": "Before     After" }
>> theHtml = '<html><span model="someData"
>> view="Text">placeholder</span></html>'
> 
> Try view="RawText" instead of "Text"...
> 
That works great for the example I gave, but...
looks like I over-simplified my example - sorry 
'bout that.  What I'm *really* after is a way 
to pass   through any widget, or at least 
through a link widget.  Something like &  
or \  or somesuch.

I'm generating a table containing text and links, 
and the table looks crappy (border/padding-wise) 
if there are empty cells.  If I could pass 
  through the model, the table would look 
okay.

Thanks,


Eric.





More information about the Twisted-Python mailing list