You are here

function views_rdf_strip_illegal_chars in Views Datasource 7

Same name and namespace in other branches
  1. 5 views_rdf.module \views_rdf_strip_illegal_chars()
  2. 6 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 240
Module definition for views_rdf

Code

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