Skip to content

Conversation

@rtripault
Copy link

What does it do ?

Always unset the "content" attribute on static elements, so that only the content added at the bottom is used

Why is it needed ?

We had issues where every extract the content attribute of a static template was either removed, or added back.
Always removing the attribute felt like acceptable as the content is always populated from the bottom of the yaml file

@muzzwood
Copy link
Contributor

Hi @rtripault thanks for the PR (and the others! 😄 ). I've so far been unable to replicate the issue you're describing, however since unsetting it here appears to cause no other issues, I'll go ahead with merging it.
Do let us know if you discover there's any extra criteria needed to cause the issue, I'd be interested in seeing it. Cheers!

@muzzwood muzzwood merged commit 0725764 into modmore:master Mar 16, 2023
@rtripault rtripault deleted the unset_content branch March 21, 2023 08:34
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.

2 participants