thank you for your reply. I tried this some time before and it doesn't work, too. I made some debugging with
{$node.data_map.anwendung|attribute(show)}
to get closer to the problem. Curious is that the xml area is empty. I pressed CTRL + A to mark all the text in the xml area and deleted it, to be sure, that there is no content in it.
Changes nothing. I don't think the code is wrong (all the codes in this thread), I can't understand why "has_content" is true or "is_empty" is false - there is no content in die xml area...
Linux is like a wigwam; no windows, now gates, and apache inside!
OK, I found out some more. The code is correct. When I disable the Online Editor and save the template, there will be displayed nothing - like it should be. But when I save and the Online Editor is enabled, it will be displayed...
Linux is like a wigwam; no windows, now gates, and apache inside!
Just tried it on stable/3.7 and OE 4.1.1 - everything is ok, has_content is false, content.is_empty is true. I tried it with 'article' class and 'body' attribute.