Image Alt Tag with Quotes

Samuel Schluep <[email protected]>
Newsgroups gmane.comp.web.zope.silva.devel
Message-ID <[email protected]>
Hello

If quotes are used in the title of a Silva Image, the XML-Widget 
renderer for images does not encode these quotes. The result might 
non-well-formed XHTML code, for example:

<div class="image-left"><img 
src="http://localhost:8080/dlcms/lo_repository/ergonomie/hci/usability/kriterien/cd_player.gif" 
width="341" height="141" alt="Fenster "CD-Widergabe"" class="image-left" 
title="Fenster "CD-Widergabe"" /></div>

Note the two quotes after 'CD-Widergabe'. The renderer should encode 
these quotes inside the alt tag using '&quot;'. No problem with the XSLT 
renderer.

Cheers and happy easter
Sam
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.