Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parsing microdata strips spaces #21

Open
hkdobrev opened this issue Oct 25, 2017 · 2 comments
Open

Parsing microdata strips spaces #21

hkdobrev opened this issue Oct 25, 2017 · 2 comments

Comments

@hkdobrev
Copy link

Given the following HTML:

<div itemscope itemtype="http://schema.org/Product"><h1 itemprop="name"><span>Foo</span> Bar</h1></div>

I would expect the library to extract a Product with the name of Foo Bar, but it extracts FooBar omitting the space.

Do you think this would be an easy fix?

@hkdobrev
Copy link
Author

hkdobrev commented Oct 30, 2017

@Vasanth-Indix @addnab Do you think the above is a valid expectation? Do you think you'd be able to address it or point me in the right direction? Thanks!

@Vasanth-Indix
Copy link

Yes @hkdobrev. It's a valid expectation. We will look into it.

grahambates added a commit to grahambates/web-auto-extractor that referenced this issue Feb 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants