Problem/Motivation

When you additional checkboxes, you can't add styling to your text. For example, the default checkbox is

Accept Terms & Conditions of Use

But If I attempt to put strong tags around a word, the html just appears within the label unlike the default checkbox. Here is my additional checkboxes

My Additional Checkboxes

But when it renders, this is the output

Results

How can I bold the lettering in additional checkboxes? This method worked in D7

Comments

BlondeSwan created an issue. See original summary.

mrweiner’s picture

Status: Active » Needs review
StatusFileSize
new1.66 KB

Simple fix. The render element was escaping all HTML instead of just filtering it for XSS.

mrweiner’s picture

StatusFileSize
new1.71 KB

Whoops, patched against the wrong branch. Let's try again.

  • Robert Castelo committed 888f43b on 8.x-1.x
    Issue #3197804 by mrweiner, BlondeSwan: Additional Checkboxes don't...
robert castelo’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.