Fix xhp formatting
commit923a54f4a6f57ca05d815abd80f0c94fe0101523
authorMillie Chen <milliechen@fb.com>
Tue, 2 Nov 2021 18:57:55 +0000 (2 11:57 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Tue, 2 Nov 2021 18:59:46 +0000 (2 11:59 -0700)
tree67bbd1825a2eb5bf96ed9d840a3174127413dd85
parenta2905d827c4b23aa2b862726d63c92004feac73b
Fix xhp formatting

Summary:
- Refactor function `format` and `format_xhp` so that the former automatically detects xhp names and calls the latter
- The facts parser has the option `disable_xhp_element_mangling` turned off. Turn it off in the direct decl parser as well.

Reviewed By: shayne-fletcher

Differential Revision: D32087922

fbshipit-source-id: cda5e15797e078790525c568081d6478a58d5ff0
hphp/hack/src/facts/facts.rs