Introduced a nice little wrapper around the code that handles the
stripping of the newlines and the boundaries of the table row. It reads
a little easiser. I love reducing cognitive load.
Inlined variable since it wasn't really paying for itself.