proc/FormatHTML(var/F)
var/TEXT=""
var/counter=1
while(findtext(F,"\n",counter,0))
var/SubLine="[copytext(F,counter,findtext(F,"\n",counter,0))]<br>"
counter=findtext(F,"\n",counter,0)+1
TEXT+=SubLine
return TEXT
Problem description:i wrote up this proc so everyline which has \n instead of
the proc will just remove it but now the problem is this proc is adding 2 line break instead of 1 making alot more space.