DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26896>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26896 [PATCH] cl:links/cl:content creates HTML anchor around text, not other HTML elements Summary: [PATCH] cl:links/cl:content creates HTML anchor around text, not other HTML elements Product: Cocoon 2 Version: Current CVS 2.1 Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: Other Component: general components AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I was trying to use the following form of cl:links: <cl:links> ... <cl:content> <img src="..."/> <h4>Text</h4> </cl:content> </cl:links> Unfortunately it creates the following: <a href="...">Text</a> i.e. it throws away all content except text. I have patched CocoonTransformer.java to preserve all content so that it is possible for my app to create a link around an image. Patch to follow. Cheers!
