The system doesn't execute the HTML it tries to sanitize and store it in the database.
When you click on a ticket it tries to display it to you.
Again your browser isn't processing it because its just text.
Can you still fall victim to a bad payload? sure.
But you would have to go to the bad (payload) site in the link.