Overload toHtml() & fromHtml() to accept option flags

Overload the methods to take int option flags indicating the conversion
behavior. This guards against large disruptions in legacy applications.

Change-Id: I0f47180bbb78884b67aa200fe5156e903eeaa6f6
4 files changed