nl2br and substr command used to make a good representation of the article text on home view