diff --git a/forms/LabelField.php b/forms/LabelField.php index f1f373ef7..a9b4acfe1 100755 --- a/forms/LabelField.php +++ b/forms/LabelField.php @@ -42,7 +42,7 @@ class LabelField extends DatalessField { return $this->createTag( 'label', $attributes, - ($this->getAllowHTML() ? $this->title : htmlentities($this->title)) + ($this->getAllowHTML() ? $this->title : Convert::raw2xml($this->title)) ); } }