The tooltip syntax with the text attribute has been deprecated.
For compatibility reason, the old syntax is still supported but customers should whenever they can, migrate to the new syntax.
<tooltip text="The tooltip">
<btn>Hover on me</btn>
</tooltip>
<btn>
<tooltip>
=== The tooltip ===
Text
</tooltip>
Hover on me
</btn>