plone/diazo — pull request #3 by datakurre (2012-04-11 15:38:16+00:00)
Title: Fixed to not apply absolute prefix for relative urls starting with '#'.

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