I have the following simple Diazo rules file:
<rules
xmlns="http://namespaces.plone.org/diazo"
xmlns:css="http://namespaces.plone.org/diazo/css"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<theme href="theme/theme.html" />
<replace css:theme-children="#content" css:content-children=".content" />
</rules>
and theme:
<html>
<body>
<div id="content">
Lorem ipsum ...
</div>
</body>
</html>
The source I want to transform is:
<html>
<body>
<div class="content">
<a href="mailto:info@example.org">info</a>
</div>
</body>
</html>
What I get is
... <a href="mailto:info@example.org">info</a> ...
but I want to keep the HTML entities of the href attribute intact. How can I do this with Diazo?