-
Cleaning up <pre> tag content
posted in PHP on 2013-02-02 code newstr pre parts2 code str_replace br parts str code code str_replace br code code -
I'm blogging for different technologies, but very often I need to add some code in my articles. This little PHP function helps me to keep the text in my
tags clean for prettify. It simply removes the
's and keeps the html tags. read more