Hi Janne,
When I'm tweaking HTML, I'll copy the HTML code my going into the HTML editor for the label and copy it, then paste it into a WYSIWYG online editor that allows me to make adjustments and grab the updated code. https://html-online.com/editor/ is an easy one.
Cheers!