Block: Explicit convert Message to string
authorFomafix <fomafix@googlemail.com>
Thu, 20 Sep 2018 13:16:11 +0000 (15:16 +0200)
committerFomafix <fomafix@googlemail.com>
Fri, 8 Mar 2019 18:34:28 +0000 (19:34 +0100)
commita6a05adba1e9b1be274f36bf68de39678974793b
tree25a0f7c58c4319599ef42eaccfc3522f719b7c36
parent7d7b5f98a712be1a4d93738989cb74fd7f3a4594
Block: Explicit convert Message to string

Without a converting method like ->parse(), ->escaped() or ->text() the
method __toString() is used which is a equivalent to ->parse().

This change switches from ->parse() to ->text() and let Html::element do
the HTML escaping, because the message 'autoblockid' is not needed to
parse.

Change-Id: I653906bdca0864989ffed5960505b96053456066
includes/Block.php