hi, i have the following problem:
in a page-template, i have to display the first 100 characters of some html content. the problem is, that if i simply slice the html-content as if it were plaintext, then sometimes some tags get cut in the half etc... so, is there a way to do this slicing without losing html-validness? or perhaps, is there some library, that "fixes" invalid (x)html? thanks, gabor --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---