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

dawehner/amp-library #1

Merged
merged 37 commits into from
May 16, 2017
Merged

dawehner/amp-library #1

merged 37 commits into from
May 16, 2017

Conversation

Nesstech
Copy link
Owner

FuzzyTree and others added 30 commits September 22, 2016 18:10
…tom script tags from:

https://github.com/ampproject/amphtml/blob/master/extensions/amp-ad/0.1/validator-amp-ad.protoascii

Regenerating the validator was necessary to avoid flagging the script tag for <amp-ad> in <head> as an error
removed duplicate word "output"
Add amp-ad script to <head> if needed
Support Facebook posts with photo url schemas
Bug fix: height check on setResponsiveImgHeightAndWidth
Fix for the Youtube code getter
Add amp-sidebar component mapping on context.php
The DOM parser throws away invalid HTML.

When you have http://youtube.com/embed/_FlV6pgwlrk&list=123 then
the `IframeYouTubeTagTransformPass::getYouTubeCode()` will match the
ID as `_FlV6pgwlrk&list=123` but since the ampersand isn't in a
proper HTML format (`&amp;`), then DOM will throw this whole
element away.

I wrote a test to make sure noone breaks this in the future.
@Nesstech Nesstech merged commit c489763 into master May 16, 2017
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.

7 participants