From: SourceForge.net <no...@so...> - 2006-11-26 16:57:09
|
Bugs item #1493455, was opened at 2006-05-23 05:26 Message generated for change (Comment added) made by dktaylor You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448266&aid=1493455&group_id=47038 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Julien HENRY (henryju) Assigned to: David K. Taylor (dktaylor) Summary: document.write() does not keep ending spaces Initial Comment: Hi, In my web page, I have : document.write("Hello "); document.write("World"); And the result with page.asText() is : HelloWorld (the space between disappears) I join a test case. ---------------------------------------------------------------------- >Comment By: David K. Taylor (dktaylor) Date: 2006-11-26 11:57 Message: Logged In: YES user_id=742109 Originator: NO Fixed document.write() does not keep ending spaces (#1493455) by reducing text of adjacent text nodes as a whole instead of separately. Folded reduction of non-breaking spaces into reduceWhitespace. Test case added as patch from Julien Henry (henryju). ---------------------------------------------------------------------- Comment By: Julien HENRY (henryju) Date: 2006-05-24 02:58 Message: Logged In: YES user_id=1235926 Here is the test case ---------------------------------------------------------------------- Comment By: Julien HENRY (henryju) Date: 2006-05-23 15:48 Message: Logged In: YES user_id=1235926 Oups, I will upload it tomorrow at work. ---------------------------------------------------------------------- Comment By: Marc Guillemot (mguillem) Date: 2006-05-23 14:26 Message: Logged In: YES user_id=402164 I don't see any attachment. Have you forgotten this stupid small checkbox? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448266&aid=1493455&group_id=47038 |