Hello all, The following code-snippet: global space python:[' ;']; global str_html_space python:space[0]*new_len_title; would be rendered in html as: ........... ........ How can i solve this so that it will render a correct html space ( )? regards, Jos van der Vleuten
The following code-snippet: global space python:[' ;']; global str_html_space python:space[0]*new_len_title; would be rendered in html as: ........... ........ How can i solve this so that it will render a correct html space ( )?
If your rendering is in ZPT, you must use the 'structure' keyword to turn off the escaping. --jcc
Jos van der Vleuten wrote:
The following code-snippet: global space python:[' ;']; global str_html_space python:space[0]*new_len_title; would be rendered in html as: ........... ........ How can i solve this so that it will render a correct html space ( )?
The problem is in the rendering, not the variable definition. If you're inserting this string with tal:replace or tal:content, use the 'structure' keyword to prevent HTML escaping. Cheers, Evan @ 4-am
participants (3)
-
Evan Simpson -
J Cameron Cooper -
Jos van der Vleuten