- Issue created by @kovalevm
- π©πͺGermany marcoka
I can not exactly follow here. Can you describe that in detail please?
The module injects a block. If you disable html and the block has html...it may not work because it gets filtered. 1. I created a new text format for inserting the banner code - Banner, in this format I disabled all filters.
are prohibited. As a result, it turns out that the banner on the page of this node is not displayed, since the text format of the editor cuts off this code. If you make the text format of the PHP node, the banner code is not cut off. But in theory, this is a Block in a Block, the format of the text editor of the node should not affect the display of Block to inject.
2. In BodyInject profiles I added a profile. Block to inject - selected the desired block, Node Type to use on - selected the Node Type.
The text format of this Node Type is Default, tags like- π©πͺGermany marcoka
I also inject banners like that i use full html for that. It works.
- π·πΊRussia xandeadx
Module inject code to non-processed node body text. After inject, body text processed by node text format, and if node text format contains filter "Limit allowed HTML tags and correct faulty HTML" then injected code becomes cleansed.
Please help me solve the problem. As xandeadx wrote above:
After inserting the body text, it is processed by the node text format (node ββtext format != block text format), and if the node text format contains the filter "Restrict allowed HTML tags and fix broken HTML", then the inserted code is cleared.
My node text format clears the code of your module inserted into it. This should not happen.