[debiandoc-sgml-pkgs] Bug#512579:   escaped if present in tag attribute (affects french project-history)

Nicolas François nicolas.francois at centraliens.net
Fri Jan 23 22:21:48 UTC 2009


tags 512579 patch
thanks

Hello,

On Thu, Jan 22, 2009 at 12:36:35AM +0100, Simon Paillard wrote:
> 
> As noticed by Jean-Baka, non breakable spaces in links are not correctly
> rendered in the html version if they are used as a tag attribute :
>   are modified in \|[nbsp ]\| while they should not be modified at
> all.
> (Same with 1.2.9)

Here is a patch to fix this issue.

I had to remove the normalization in Driver.pm::start_url() because
otherwise, [nbsp  ] is changed to [nbsp ], which breacks the sdata
conversion.
I don't think it will have any drawback for the supported formats.


The usage of _cdata in _output_url is similar to other modules (LaTeX,
text, ...). Maybe the SGML and XML module would require the same fix.

Best Regards,
-- 
Nekral
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debiandoc-sgml_512579.patch
Type: text/x-diff
Size: 1248 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/debiandoc-sgml-pkgs/attachments/20090123/aaad2217/attachment.patch 


More information about the Debiandoc-sgml-pkgs mailing list