Andrew Pearce wrote: > It was because I was treating raw article content as normal data (i.e. > non-XML) data, on the basis that Kid would then escape it for me and it > would be valid for inclusion in the <content:encoded> tag. What I had > unfortunately neglected to take into account was that I was applying my > own formatter to the output which, among other things, converts quotes > to smart quotes. As you might imagine, this doesn't play nicely with > HTML tag attributes like href...
Maybe you should try the "educate" format option of Kid 0.9.5. It is clever enough to add smart quotes only where appropriate. http://www.kid-templating.org/guide.html#id4 -- Chris ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ kid-template-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/kid-template-discuss
