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

Updated default parsers to include all embed parsers; updated tests #4

Merged
merged 2 commits into from
Mar 18, 2019

Conversation

st421
Copy link
Contributor

@st421 st421 commented Mar 13, 2019

Description (a few sentences describing the overall goals of the PR's commits)

Recently added embed parsers were not being added to DefaultHtmlAnsParser as default parsers. This PR adds those parsers to the defaults, adds some comments, addresses a couple of minor style issues, and adds some additional tests to test_html2ans.

Steps to Test or Reproduce (outline the steps to test or reproduce the PR here)

Parse a PollDaddy, Reddit, Flickr, etc. embed using the DefaultHtmlAnsParser/Html2Ans class and ensure that it comes back as an oembed rather than raw_html.

Todos

Before PR:

  • Add tests
  • Add documentation

Comments (include any comments to help with an effective code review here)

@st421 st421 merged commit 8e08e8d into dev Mar 18, 2019
@st421 st421 deleted the bugfix/default_embed_parsers branch March 18, 2019 17:20
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.

1 participant