Correctly parse file extension to determine post format

(0) -1 +1 +10 tip

mercurial