Open kartikprabhu opened 6 years ago
In my attempt at fixing https://github.com/microformats/mf2py/issues/112 I'm currently assuming "name": "foo bar"
, since that appears to match browser behavior.
I'm no expert, but i think @sknebel is right, based on how i think recursive textContent
interacts with "removing all leading/trailing whitespace" from eg http://microformats.org/wiki/microformats2-parsing#parsing_an_p-_property
... which would mean it's also true for all p- and e- (value
) properties.
What is the expected
p-name
for these examples with respect to white spacing? (example 1 borrowed from https://github.com/microformats/mf2py/issues/112 ) cc: @snarfed @sknebel @gregorlove @Zegnatedit: 2018-07-25 more examples
And all of the above with each
<span>
replaced by<div>
or<p>
or<pre>
.