Tag Archives: sanitize_html_class

sanitize_html_class

Santizes a html classname to ensure it only contains valid charactersStrips the string down to A-Z,a-z,0-9,_,-. If this results in an empty string then it will return the alternative value supplied.

2773

Continue reading