textEditor analyze multiple lines of input code

Can now handle any number of lines that the user inputs. <br> tags
ignored.