#11445: truncatewords_html does'nt correctly detect html entities.
--------------------------------------+-------------------------------------
Reporter: Cld | Owner: nobody
Status: new | Milestone:
Component: Template system | Version: SVN
Resolution: | Keywords: truncatewords_html
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
--------------------------------------+-------------------------------------
Comment (by JohnDoe):
Replying to [comment:4 Cld]:
> In all case, &'space'something'space'; need to be considerate has
separate charactere and not and html entities (an entities can't contains
space and bad or unknow entities need to be display has is)
I opened up the HTML4.01 standard and looked at it. I'm not sure where
you're getting your information for your arguments.
What you, in fact, should be doing is not allowing invalid HTML, it opens
up for various security holes and it's easy to avoid.
--
Ticket URL: <http://code.djangoproject.com/ticket/11445#comment:5>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---