You are here

function views_rdf_strip_illegal_chars in Views Datasource 6

Same name and namespace in other branches
  1. 5 views_rdf.module \views_rdf_strip_illegal_chars()
  2. 7 views_rdf.module \views_rdf_strip_illegal_chars()

Strips illegal Unicode characters and encodes entities in string.

Parameters

$input: String to process.

Return value

String with illegal characters stripped away and entities encoded.

File

./views_rdf.module, line 234
Module definition for views_rdf

Code

function views_rdf_strip_illegal_chars($input) {
  return check_plain(strip_tags($input));
}