2020-05-02 / 2282阅 / 悠然
清理HTML类名以确保它>
将字符串剥离为AZ,az,0-9,_,-。如果这导致一个空字符串,则它将返回提供的替代值。
(string)
(Required)
The classname to be sanitized
(string)
(Optional)
The value to return if the sanitization ends up as an empty string. Defaults to an empty string.
Default value: ''
(string) The sanitized value