Fix hang on malformed props or missing '>'