Open kartikprabhu opened 6 years ago
If I read mf2py source correctly right now, it just uses textContent? php-mf2 uses textContent with stripped whitespace, so close to what you are proposing. I think this makes sense, replacing all instances of ìnner-text` on http://microformats.org/wiki/value-class-pattern with a definition like in the mf2-parsing-spec:
the textContent of the element after removing all leading/trailing whitespace and nested Githubissues.
Githubissues is a development platform for aggregating issues.
The value-class-pattern for date and time parsing refers to
innertext
in many places.Currently it is not clear what
innertext
exactly means. It would be good to have some more direction similar totextContent
specification in, for example, http://microformats.org/wiki/microformats2-parsing#parsing_a_p-_property