Added special handling to distinguish font tag and property. Fixes #24