syndication framework includes an extra newline using default templates
|Reported by:||hopson||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The syndication framework default behavior is to load templates named feeds/<slug>_title.html and feeds/<slug>_description.html.
The newline at the end of these files is include in the rendered output, which for HTML doesn't really matter but could for XML. So rather than:
a person ends up with
It is easy to fix this behavior by subclassing Feed so I'm not sure if it's a huge deal - maybe worth documenting somehow?
Change History (3)
comment:1 Changed 7 years ago by arthurk
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Version changed from SVN to 1.0