Fixed html format detection
0.4.2