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