Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

Issue 77 - Missing Footer title attribute #187

Merged
merged 3 commits into from
Dec 7, 2016

Conversation

everton-rosario
Copy link
Contributor

This PR

  • Fixes the issue of removing the RelatedArticles footer section if no title provided for the transformation
  • Fixes the tests and adds another test cases

Fixes #77
Fixes https://github.com/Automattic/facebook-instant-articles-wp/issues/550

There was an issue into the files FooterRelatedArticlesRule and RelatedArticlesRule that were requiring the title to be present in order to get the items inserted into the Related section.
Relates https://github.com/Automattic/facebook-instant-articles-wp/issues/550
Also adds a InstantArticle::CURRENT_VERSION to the testIsRTLEnabled in order to not break tests with a new release.
@everton-rosario everton-rosario added this to the v1.5.4 milestone Dec 1, 2016
Copy link
Contributor

@demoive demoive left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@everton-rosario I don't think we intended for all the special characters to be changed in the 6e32c13#diff-d964c798e7db5ec394317b70830bcea2 file. Perhaps we needed to open this file with something other than UTF encoding when we edited it?

@@ -157,6 +157,42 @@
"selector" : "*"
}
}
}
},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: formatting

@@ -157,6 +157,49 @@
"selector" : "*"
}
}
}
},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: formatting

@everton-rosario
Copy link
Contributor Author

@demoive Fixed the charsed encoding. Nice catch.
Merging now.

@everton-rosario everton-rosario self-assigned this Dec 7, 2016
@everton-rosario everton-rosario merged commit 28c35d6 into master Dec 7, 2016
@everton-rosario everton-rosario deleted the issue-77-footer-title branch December 7, 2016 14:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants