Für mein back-end habe ich ein Label-callback:
Vorher war das okay, weil die "Tooltip" in mein Contao Backend die <br/> gut verarbeit hatte (bis zum 4.13.22), aber jetzt steht die <br/> in die tooltip (wie ein <PRE>-tag). Wie kann ich mein Informazion wieder schön machen?Code:$img_path = \Contao\Image::getPath('show'); $t = "90d total<br/>"; foreach ($usage_data as $key => $val) { $t .= $key.":".$val."<br/> "; } $i = "<img src='$img_path' width='16' height='16' title='$t'>"; $labels[$usage_id_key] = $i.implode(",", $usage_data);
Von mein Vorbild, jetzt sehe ich in die Tooltip:
90d total<br/> action A:16 <br/> action B:20
Aber ich möchte wieder sehen:
90d total
action A:16
action B:20

Zitieren