Opened 17 years ago
Last modified 9 years ago
#62 closed defect
Genshi text template deletes blank lines — at Version 1
Reported by: | talin@… | Owned by: | cmlenz |
---|---|---|---|
Priority: | minor | Milestone: | 0.3.5 |
Component: | Template processing | Version: | 0.3.3 |
Keywords: | text template | Cc: | martin.kaffanke@… |
Description (last modified by cmlenz)
In the example below, there is a blank line in the original template between "hello" and "world", however the output has them on adjacent lines. This makes it hard to do things like SMTP messages, where a blank line is required between the headers and the body :)
>>> from genshi.template import TextTemplate >>> template = """hello ... ... world""" >>> print TextTemplate( template ).generate() hello world >>>
Change History (1)
comment:1 Changed 17 years ago by cmlenz
- Component changed from General to Template processing
- Description modified (diff)
- Version changed from 0.2 to 0.3.1
Note: See
TracTickets for help on using
tickets.
(fixed description)
Can you please try: