I'm trying to use Divi's pricing modules, but want the "subtitle" field to be broken into two lines. Normally, I can just add a break tag to the Divi field, and it reads it normally and breaks the line, but for some reason, it's spitting out this html:
<span class="et_pb_best_value">50% of 1st Month's Rent<br />7.5% of Monthly Rent*</span>
I thought maybe I could use jQuery to add a break tag, but I'm not super familiar with jQuery.
Here's what I tried most recently, and it doesn't seem to do anything at all on the website:
jQuery('.et_pb_best_value').html(function(_, curr){
return curr.replace(',', '<br />');
});
<span class="et_pb_best_value">50% of 1st Month's Rent,7.5% of Monthly Rent*</span>