JSFiddle - React, Tailwind, and code Playground

by ian_smithz

HTML

<div class="form-group "><label for="renewalsettings">Please select a renewal status below:</label><label><input type="radio" name="renewalsettings" required="required" class="checkbox-padding" value="0" checked="checked">Auto-renew &lt;br&gt; xxxxxxxx xx  x x x x x</label><label><input type="radio" name="renewalsettings" required="required" class="checkbox-padding" value="2">Remind me &lt;br&gt; xxxxxxxx xx  x x x x x</label><label><input type="radio" name="renewalsettings" required="required" class="checkbox-padding" value="1">Allow to lapse &lt;br&gt; xxxxxxxx xx  x x x x x</label></div>

CSS

body {
    font-family: Verdana, Arial, sans-serif;
    font-size: 12px;
}

JavaScript

$(document).ready(function() {
    $("label").html(function(index, currentHtml) {
        return currentHtml.replace('&lt;br&gt;', '<br />');
    });
});