diff options
author | Yorhel <git@yorhel.nl> | 2015-11-01 13:42:56 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2015-11-01 13:43:50 +0100 |
commit | 8c9cfe238e565088b37d256eb461a01919ef9968 (patch) | |
tree | 56143b98815c308aa84dc626a91364db5eadec23 /lib/VNDB/Util/FormHTML.pm | |
parent | 3c967881d7b5408a49f16de8b268b053d6ba9051 (diff) |
Switch to HTML5 doctype + s/acronym/abbr/ + s/ / /e
I'd have preferred to stick with XHTML 1.0, but unfortunately browsers
won't allow you to use modern Javascript APIs with an older doctype.
Note that most pages don't actually validate correctly as HTML5, I'm
relying on browsers to be lenient.
In either case, I'd like VNDB to stay valid XML (XHTML5, then), and
luckily that shouldn't be a problem.
Diffstat (limited to 'lib/VNDB/Util/FormHTML.pm')
-rw-r--r-- | lib/VNDB/Util/FormHTML.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VNDB/Util/FormHTML.pm b/lib/VNDB/Util/FormHTML.pm index 9612f904..afecbe08 100644 --- a/lib/VNDB/Util/FormHTML.pm +++ b/lib/VNDB/Util/FormHTML.pm @@ -97,7 +97,7 @@ sub htmlFormPart { if(/check/) { Tr class => 'newfield'; td class => 'label'; - lit ' '; + lit ' '; end; td class => 'field'; input type => 'checkbox', name => $o{short}, id => $o{short}, tabindex => 10, @@ -120,7 +120,7 @@ sub htmlFormPart { } elsif($o{label}) { txt $o{label}; } else { - lit ' '; + lit ' '; } end; } |