Bug #341
Witz template parser eats empty lines
Status: | Approved | Start date: | 10/21/2012 | |
---|---|---|---|---|
Priority: | High | Due date: | ||
Assignee: | Miroslav Fidler | % Done: | 100% | |
Category: | Wpp (web framework) | Spent time: | - | |
Target version: | - |
Description
Empty lines get discarded when witz template is read. No big deal for general html, but in <pre> block or in plaintext it can make significant problems. Screenshot showing the problem and patch is included.
Only side-effect of the patch is that it always adds \r\n on the end of file, even where there was none before. But that is IMHO a feature rather than a bug (many text editors behave the same by default, e.g. nano or geany) :-) It could be fixed too if necessary, but I'm really not sure if it is worth it.
History
#2 Updated by Jan Dolinár almost 12 years ago
- File deleted (
witz.patch)
#3 Updated by Miroslav Fidler almost 12 years ago
- Status changed from Patch ready to Approved