Handle years better in the html encoder.
Very slight change to the parser - it'll now accept any integer for the years, before it was only a 4 digit value.