indeed,
$w(‘#text1’).text - will show the value you assign to it as plain text, so html tags will be shown if you set it to a rich text value.
$w(‘#text1’).html - will treat the value as rich text/“html”.
using “.html” with a rich text field should give you the same result as just binding them through the dataset connect panel ui.