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

rel-urls use first value instead of last one #65

Closed
kartikprabhu opened this issue Mar 22, 2018 · 2 comments
Closed

rel-urls use first value instead of last one #65

kartikprabhu opened this issue Mar 22, 2018 · 2 comments

Comments

@kartikprabhu
Copy link
Owner

<a href="#a" rel="a" hreflang="de"></a>
<a href="#a" rel="a" hreflang="en"></a>

gives

    "rel-urls": {
        "#a": {
            "rels": [
                "a"
            ], 
            "text": "", 
            "hreflang": "en"
        }
    }

should give

    "rel-urls": {
        "#a": {
            "rels": [
                "a"
            ], 
            "text": "", 
            "hreflang": "de"
        }
    }

line: https://github.com/kartikprabhu/mf2py/blob/master/mf2py/parser.py#L357

@kartikprabhu kartikprabhu changed the title rel-urls use last value instead of first one rel-urls use first value instead of last one Mar 23, 2018
@kartikprabhu
Copy link
Owner Author

fixed in experimental

@kartikprabhu
Copy link
Owner Author

done in version 1.1.1 https://github.com/kartikprabhu/mf2py/releases/tag/1.1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant