I created a new input format to allow for certain html tags (img in this case). Creating a new block and setting the block to that new filter doesn't work. The block saves, but the input filter returns to plain text. The following error is thrown:

Error message
Warning: htmlspecialchars() expects parameter 1 to be string, array given in check_plain() (line 1475 of /var/www/html/includes/bootstrap.inc).

Comments

dawehner’s picture

Mh. I cannot reproduce it.

Both creating and updating blocks work fine here. I also added another issue format to test it with this.

langworthy’s picture

Status: Active » Closed (cannot reproduce)

They save for me as well.

I'm going to close this ticket.

Please re-open if the problem occurs again.