[Mono-list] monodoc xhtml provider trim patch

Johannes Roith johannes@jroith.de
12 Jun 2003 18:38:26 +0200


--=-uQDjco1b72hUOBSUtSa2
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

tiny one :)

--=-uQDjco1b72hUOBSUtSa2
Content-Disposition: attachment; filename=xhtml-provider.diff
Content-Type: text/x-patch; name=xhtml-provider.diff; charset=UTF-8
Content-Transfer-Encoding: 7bit

Index: xhtml-provider.cs
===================================================================
RCS file: /cvs/public/monodoc/browser/xhtml-provider.cs,v
retrieving revision 1.1
diff -u -r1.1 xhtml-provider.cs
--- xhtml-provider.cs	1 Jun 2003 15:26:45 -0000	1.1
+++ xhtml-provider.cs	12 Jun 2003 16:47:15 -0000
@@ -175,7 +175,7 @@
 				
 				// FIXME: Change this to include the help-source ID?
 				// Not really sure what's going on here.....
-				nodeToAddChildrenTo = latestNodeAddition.CreateNode (attribs[0], "source-id:NNN:xhtml:" + filename);
+				nodeToAddChildrenTo = latestNodeAddition.CreateNode (attribs[0].Trim(), "source-id:NNN:xhtml:" + filename);
 
 			}
 			else {

--=-uQDjco1b72hUOBSUtSa2--