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/Func.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/Func.pm')
-rw-r--r-- | lib/VNDB/Func.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VNDB/Func.pm b/lib/VNDB/Func.pm index b4848796..2644ea35 100644 --- a/lib/VNDB/Func.pm +++ b/lib/VNDB/Func.pm @@ -31,8 +31,8 @@ sub clearfloat { # Draws a CSS icon, arguments: class, title sub cssicon { - acronym class => "icons $_[0]", title => $_[1]; - lit ' '; + abbr class => "icons $_[0]", title => $_[1]; + lit ' '; end; } |