Command line will working normal.

Add a new hook to support custom html parser.