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

Avoid usage of method="raw" in rules.xml #85

Open
thet opened this issue Feb 13, 2016 · 0 comments
Open

Avoid usage of method="raw" in rules.xml #85

thet opened this issue Feb 13, 2016 · 0 comments

Comments

@thet
Copy link
Member

thet commented Feb 13, 2016

In the rules.xml file, we currently have two method="raw" occurrences:

<replace css:theme-children="#mainnavigation" css:content-children="#portal-mainnavigation" method="raw" />

<replace css:theme-children="#mainnavigation" css:content-children="#portal-mainnavigation" method="raw" />

and

<replace css:theme="#content-container" method="raw">

<replace css:theme-children="#mainnavigation" css:content-children="#portal-mainnavigation" method="raw" />

method="raw" makes it impossible to modify the content before it's injected into the theme.

I think we don't need both and propose to remove them.

Or do we? /cc to @bloodbare @sneridagh @albertcasado because you might know why it was added.

Referring to: https://community.plone.org/t/adding-html-snippets-with-diazo/1554

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant