django.contrib.comments Manipulators Automatically strip() Whitespace
|Reported by:||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
In my opinion, the manipulator should not modify the contents of the comment. When submitting content, currently, the spaces at the beginning and end get pulled off, which is especially annoying when using Markdown, which treats leading whitespace differently (four spaces creates a blockquote).
I suppose it's acceptable to strip all non-content fields (headline, name, etc.), but comment should not be modified.
Change History (7)
comment:1 Changed 9 years ago by
|Patch needs improvement:||unset|