Does web push notification body need to be escaped?

Following Using the Notifications API, I can display a push notification successfully.
Some of my push notifications contain user-entered text (like the user’s name for example).

Do I need to escape the Notification.body from special characters before passing it to the push notification? Or is it safe to pass it any string unescaped?