Created
August 23, 2013 20:04
-
-
Save QuestionDevelopment/6323436 to your computer and use it in GitHub Desktop.
Gets rid of all types of hard spacing returns/tabs ect.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
str_replace(array("\r\n", "\r", "\n", "\t"), "<br />", htmlentities(nl2br($hover_display))); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment