Hello,

this short patch makes all properly formatted and malformed links in the
docbrowser work. Please review it and apply if no one objects.

Kind Regards,
Valentin Sawadski
Index: provider.cs
===================================================================
--- provider.cs	(revision 91289)
+++ provider.cs	(working copy)
@@ -962,6 +962,11 @@
 	
 	public static bool GetNamespaceAndType (string url, out string ns, out string type)
 	{
+		// This is a little ugly hack but it at least it helps to retrieve the
+		// wanted type.
+		string interalUrl = url.Replace("&lt;", "<");
+		interalUrl = url.Replace("&gt;", ">");
+
 		int nsidx = -1;
 		int numLt = 0;
 		for (int i = 0; i < url.Length; ++i) {
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 91289)
+++ ChangeLog	(working copy)
@@ -1,3 +1,7 @@
+2007-12-14  Valentin Sawadski  <[EMAIL PROTECTED]>
+	* provider.cs: Convert "&lt;" and "&gt;" to "<" and ">" to ensure that
+	  generic types are looked up properly.
+
 2007-12-12  Jonathan Pryor  <[EMAIL PROTECTED]>
 
 	* provider.cs: Permit "relaxed" type/member URL lookup.  Many of the
_______________________________________________
Mono-docs-list maillist  -  Mono-docs-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-docs-list

Reply via email to