Glenn Linderman <v+pyt...@g.nevcal.com> added the comment: Re: the BTW -- < and > should be entity-escaped when used in attribute values inside tag attributes... (but are probably seldom found as part of tag attribute values)
But the example you showed is not an attribute in a tag, but rather text within a paired tag. But your suggestion for the regexp seems correct to me, if the non-ASCII characters are permitted for non-quoted attribute values. ---------- nosy: +v+python _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7311> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com