diff options
author | Gert Driesen <drieseng@users.sourceforge.net> | 2008-06-09 01:11:28 +0400 |
---|---|---|
committer | Gert Driesen <drieseng@users.sourceforge.net> | 2008-06-09 01:11:28 +0400 |
commit | 105bb9386687bcf106c6591fdc309eec456bf6cc (patch) | |
tree | 7073ba4b1dd3423b7f2684795ed2fe8f336b0453 /mcs/class/System.Web/System.Web.UI.HtmlControls/ChangeLog | |
parent | 56483c24b5bc26cdb16976756e3979a60de6f9e1 (diff) |
* HtmlAnchor.cs: Do not render empty name, target or title attribute.
Removed extra check for target attribute in RenderAttributes. Use
string.Empty instead of "", and check string's Length instead of
comparison with "" or string.Empty. Minor code formatting.
* HtmlAnchorTest.cs: Added RenderAttributes tests for empty or null
HRef, Name, Target and Title.
svn path=/trunk/mcs/; revision=105270
Diffstat (limited to 'mcs/class/System.Web/System.Web.UI.HtmlControls/ChangeLog')
-rw-r--r-- | mcs/class/System.Web/System.Web.UI.HtmlControls/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mcs/class/System.Web/System.Web.UI.HtmlControls/ChangeLog b/mcs/class/System.Web/System.Web.UI.HtmlControls/ChangeLog index d9b9f37d608..56b0eae8bad 100644 --- a/mcs/class/System.Web/System.Web.UI.HtmlControls/ChangeLog +++ b/mcs/class/System.Web/System.Web.UI.HtmlControls/ChangeLog @@ -1,3 +1,10 @@ +2008-06-08 Gert Driesen <drieseng@users.sourceforge.net> + + * HtmlAnchor.cs: Do not render empty name, target or title attribute. + Removed extra check for target attribute in RenderAttributes. Use + string.Empty instead of "", and check string's Length instead of + comparison with "" or string.Empty. Minor code formatting. + 2008-06-04 Juraj Skripksy <js@hotfeet.ch> * HtmlAnchor.cs (Render): Add missing call to |