beagle r4580 - trunk/beagle/Filters



Author: arunsr
Date: Wed Mar  5 19:10:38 2008
New Revision: 4580
URL: http://svn.gnome.org/viewvc/beagle?rev=4580&view=rev

Log:
When translating <meta> tags into properties, convert them to lower-case for consistency.


Modified:
   trunk/beagle/Filters/FilterHtml.cs

Modified: trunk/beagle/Filters/FilterHtml.cs
==============================================================================
--- trunk/beagle/Filters/FilterHtml.cs	(original)
+++ trunk/beagle/Filters/FilterHtml.cs	Wed Mar  5 19:10:38 2008
@@ -181,7 +181,7 @@
 	   		string name = node.GetAttributeValue ("name", String.Empty);
            		string content = node.GetAttributeValue ("content", String.Empty);
 			if (name != String.Empty)
-				AddProperty (Beagle.Property.New ("meta:" + name, content));
+				AddProperty (Beagle.Property.New ("meta:" + name.ToLower (), content));
 		}
 
 		protected void HandleContentFreeNode (HtmlNode node)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]