Mult-line content support

now a single function for content.
Cycles through two foreach statements to get the relevant lines and
puts them into a string – HTML must be formatted (i.e. line-breaks)