JSFiddle - React, Tailwind, and code Playground

by j08691

HTML

<u>&nbsp;test&nbsp;</u> 

<u class="foo"> test </u>

CSS

u.foo {
    white-space:pre;
}