curios behavior of parser, Version 2.5

neue medienordnung plus
  
I stored successful this snippet </div>
</div>

as block with html-format on https://dev.hubzilla.org/ in channel A. But in other dev.hubzilla.org/-channel B I can not store this snippet </div>
</div>

Block-body stays after store at channel B empty. How can I store my snippet at channel B? Hubzilla-Version 2.5

@Hubzilla Support Forum+ @Hubzilla Development+ #behavior #pageend
Mike Macgirvin
  
I'd recommend using a bbcode page/block or even text/plain if you want to store the HTML as text for reference purposes and not as HTML code to be executed by your browser. If it is stored as HTML code we need to verify that your code is safe for other site members to access without posing a security risk. We aren't doing this to be mean to you. It represents a very serious risk to the security and privacy of your website.
neue medienordnung plus
  last edited: Fri, 19 May 2017 04:23:36 +0200  
@Mike Macgirvin
I'd recommend using a bbcode page/block or even text/plain

I tested it yet. It does not works for me. Hier the result of bbcode-Format. The specifications for used components:
  • webpage default_2-blocks_bbcode, pagestart_bbcode, snippet-green_bbcodepageend_bbcode - bbcode
  • snippet-yellow_kopie - text/html
  • Layout [template]default[/template]
    [comment]re-use of Content [/comment]
    [region=aside]
        [menu]Color-carrousel[/menu]
    [/region]

    [region=content]
    [block][var=wrap]none[/var]pagestart_bbcode[/block]
    [block][var=wrap]none[/var]snippet-yellow_kopie[/block]
    [block][var=wrap]none[/var]snippet-green_bbcode[/block]
    [block][var=wrap]none[/var]pageend_bbcode[/block]

    [/region]

You see, that only snippet-yellow_kopie - text/html will be normal displayed. As said before, the variant with The HTML-snippet
</div>
</div>

is one workaround, because I not be found other solution for my layout wish .
Mike Macgirvin
  
A block is a self-contained code or text snippet that can be re-used on other pages or in other layouts. The problem here is that you're doing something different with it - it isn't self-contained but requires interaction with other page elements to be valid HTML.

That's fine, but this isn't what blocks are intended to do so you're going to have to deal with the fact that we validate the code. This is non-negotiable. If you run your own hub or talk somebody into giving you AllowCode rights you can get around this restriction, but you're still using blocks in a manner in which they weren't intended. I think what you're trying to do is a mess, but that isn't my problem. All I can do is tell you how Hubzilla was designed and why we made the decisions we made. It's up to you to figure out how you want to deal with that.