Hi,

Silvain Piree wrote:

> Dominik,
> 
> the only suggestion I can give you is to output entity references
> like " " using a separate call to addEntity, e.g.
> 
>         body.addText("First");
>         body.addEntity("nbsp", "");
>         body.addText("Test");
> 
> Silvain



Another possibility should be to use the unicode escape sequence (
    ..
    body.addText("First\u00A0Test");
    ...
) and let the HTMLWriter insert the corresponding entity, but for some reasons 
it does not work with \u00A0 (->  ) but with all others I tried.

Any suggestions?



Markus





_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to