JSFiddle - React, Tailwind, and code Playground
by JamesD
HTML
<p data-description1="Line 1" data-description2="Line 2"></p>
CSS
p:after {
content:attr(data-description1) "\A" attr(data-description2);
white-space:pre-wrap;
}
by JamesD
<p data-description1="Line 1" data-description2="Line 2"></p>
p:after {
content:attr(data-description1) "\A" attr(data-description2);
white-space:pre-wrap;
}