I am looking for a solution to add markup to a custom field with multiple lines. Much like wpautop, but with customization. I'm not quite sure to approach this with a custom function or something built into WordPress.
Custom Field text would be:
Line 1
Line 2
Line 3
Code output would add markup:
<span>Line 1</span>
<span>Line 2</span>
<span>Line 3</span>