[interchange-cvs] interchange - jon modified lib/Vend/Form.pm
interchange-cvs at icdevgroup.org
interchange-cvs at icdevgroup.org
Wed Mar 8 13:22:09 EST 2006
User: jon
Date: 2006-03-08 18:22:09 GMT
Modified: lib/Vend Form.pm
Log:
Fix broken HTML by prepending a space to class attribute. Found and fixed
by Max Cohan <max at endpoint.com>.
Revision Changes Path
2.67 +4 -4 interchange/lib/Vend/Form.pm
rev 2.67, prev_rev 2.66
Index: Form.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Form.pm,v
retrieving revision 2.66
retrieving revision 2.67
diff -u -u -r2.66 -r2.67
--- Form.pm 2 Mar 2006 23:19:19 -0000 2.66
+++ Form.pm 8 Mar 2006 18:22:08 -0000 2.67
@@ -1,6 +1,6 @@
# Vend::Form - Generate Form widgets
#
-# $Id: Form.pm,v 2.66 2006/03/02 23:19:19 jon Exp $
+# $Id: Form.pm,v 2.67 2006/03/08 18:22:08 jon Exp $
#
# Copyright (C) 2002-2006 Interchange Development Group
# Copyright (C) 1996-2002 Red Hat, Inc.
@@ -39,7 +39,7 @@
require Exporter;
@ISA = qw(Exporter);
-$VERSION = substr(q$Revision: 2.66 $, 10);
+$VERSION = substr(q$Revision: 2.67 $, 10);
@EXPORT = qw (
display
@@ -1323,10 +1323,10 @@
if($opt->{extra}) {
$opt->{extra} =~ s{(^|\s+)class=(["'])?[^\s'"]+\2}{$1};
$opt->{extra} =~ s/\s+$//;
- $opt->{extra} .= qq{class="$opt->{class}"} ;
+ $opt->{extra} .= qq{ class="$opt->{class}"};
}
else {
- $opt->{extra} = qq{class="$opt->{class}"} ;
+ $opt->{extra} = qq{class="$opt->{class}"};
}
}
More information about the interchange-cvs
mailing list