Skip to content

EM-1012: Removable Snippet Regions #26

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

Merged
merged 1 commit into from
Mar 7, 2017

Conversation

toastercup
Copy link
Member

This PR allows for removable snippet regions. Previously, we would pipe in the contents of the snippet HTML if the body was empty?. This meant that if the contents were an empty string, the region would re-appear: not exactly ideal if a PO is trying to remove an entire section. Evidently, it's been this way since the dawn of time for this library. This PR removes the empty? check but keeps the nil? checks - which are entirely sensible.

@toastercup toastercup merged commit 36b03f8 into develop Mar 7, 2017
@toastercup toastercup deleted the topic/EM-1012-removable-regions branch March 7, 2017 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants