Currently, diazo appends absolute prefix also for relative urls starting with "#". It prevents designers from linking local anchors in theme, when absolute prefix is defined.
This patch would define a wrapper around urlparse.urljoin, which calls urljoin only when the given url doesn't start with '#'.
Test included. All tests for diazo and plone.app.theming seem to pass.
Currently, diazo appends absolute prefix also for relative urls starting with "#". It prevents designers from linking local anchors in theme, when absolute prefix is defined.
This patch would define a wrapper around urlparse.urljoin, which calls urljoin only when the given url doesn't start with '#'.
Test included. All tests for diazo and plone.app.theming seem to pass.
See: http://stackoverflow.com/questions/10098846/how-to-avoid-that-diazo-change-links-in-plone