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

new version 1.1.1 #106

Merged
merged 36 commits into from
Jul 7, 2018
Merged

new version 1.1.1 #106

merged 36 commits into from
Jul 7, 2018

Conversation

kartikprabhu
Copy link
Member

Changes as in the changelog

  • streamline backcompat to use JSON only.
  • fix multiple mf1 root rel-tag parsing
  • correct url and photo for hreview.
  • add rules for nested hreview. update backcompat to use multiple matches in old properties.
  • fix rel-tag to p-category conversion so that other classes are not lost.
  • use original authored html for e-* parsing in backcompat
  • make classes and rels into unordered (alphabetically ordered) deduped arrays.
  • only use class names for mf2 which follow the naming rules
  • fix parse method to use default html parser.
  • always use the first value for attributes for rels.
  • correct AM/PM conversion in datetime value class pattern.
  • add ordinal date parsing to datetimes value class pattern. ordinal date is normalised to YYYY-MM-DD
  • remove hack for html tag classes since that is fixed in new BS
  • better whitespace algorithm for name and html.value parsing
  • experimental flag for including alt in u-photo parsing
  • make a copy of the BeautifulSoup given by user to work on for parsing to prevent changes to original doc
  • bump version to 1.1.1

fixes #105 #104 #101 #100 #83

Kartik Prabhu added 30 commits March 17, 2018 14:54
…t value for attributes for rels. update test
…dinal date is not normalised to YYYY-MM-DD
@kartikprabhu
Copy link
Member Author

updated implied name image replacement according to proposal microformats/microformats2-parsing#35 (comment)

So <img> will be replaced by its alt but never its src.

@kevinmarks kevinmarks merged commit 9a84d56 into microformats:master Jul 7, 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

Successfully merging this pull request may close these issues.

backcompat.py throws bs4 warning
2 participants