Should I use innerHTML to show a workshop name that must stay plain text?
TechnologyMy practice page puts an entered workshop name into a label with innerHTML. The sample `Fold <b>paper</b>` appears with paper in bold. I wanted to show the brackets and letters exactly as entered, not accept formatting instructions.
MDN distinguishes textContent from HTML parsing and warns about using raw HTML for text. MDN's textContent reference
Would setting the label's textContent be the right fit? The surrounding card has its own buttons and layout, so I also want to make the change on the intended label without accidentally replacing the rest of the card.