in reply to Re^3: Formatting Input
in thread Formatting Input

$Contents =~ tr/\n/<br>/ and $Contents =~ s/\n/<br>/ don't work and give an undesirable result, i haven't tried $Contents =~ s/\n/<br>/m though.

However the <pre> tags give me what i'm looking for but in the wrong text font style, size and color as expected and the text is displayed with its blank lines and the text goes right off the edge of the screen.

This gives me something i can work with

I will try using $Contents =~ s/\n/<br>/m when i can on monday to see what it gives me

Thank you