HTTPResponse.insertBase does not detect multiline base tags
Bug #143793 reported by
Stefan Bunse
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
Invalid
|
Low
|
Unassigned |
Bug Description
My PageTemplates generate a multiline base tag which is not detected by the HTTPResponse so it adds a second base tag which in turn is invalid xhtml.
the corresponding regex is in ZPublisher.
base_
to make it detect my multiline base tag i changed it to:
base_
and it works.
Changed in zope2: | |
status: | New → Confirmed |
To post a comment you must log in.
Why do you have to generate the BASE tag on your own. There is usually absolutely no need to do anything with the BASE tag. This is up to Zope!