[mapguide-commits] r10050 - trunk/MgDev/Common/MapGuideCommon/Controller

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Thu May 4 06:10:54 PDT 2023


Author: jng
Date: 2023-05-04 06:10:53 -0700 (Thu, 04 May 2023)
New Revision: 10050

Modified:
   trunk/MgDev/Common/MapGuideCommon/Controller/HtmlController.cpp
Log:
Fix SelectionKey being outputted with a leading newline character.

Fixes #2870

Modified: trunk/MgDev/Common/MapGuideCommon/Controller/HtmlController.cpp
===================================================================
--- trunk/MgDev/Common/MapGuideCommon/Controller/HtmlController.cpp	2023-04-06 14:58:24 UTC (rev 10049)
+++ trunk/MgDev/Common/MapGuideCommon/Controller/HtmlController.cpp	2023-05-04 13:10:53 UTC (rev 10050)
@@ -562,7 +562,7 @@
                 if (bIncludeSelectionKey)
                 {
                     STRING selKey = EncodeKey(&streamHelper, reader, selLayer);
-                    xmlOut.append(L"<SelectionKey>\n");
+                    xmlOut.append(L"<SelectionKey>");
                     xmlOut.append(selKey);
                     xmlOut.append(L"</SelectionKey>\n");
                 }



More information about the mapguide-commits mailing list