Text_Diff_Renderer_inline::_encode()publicWP 1.0

Method of the class: Text_Diff_Renderer_inline{}

No Hooks.

Return

null. Nothing.

Usage

$Text_Diff_Renderer_inline = new Text_Diff_Renderer_inline();
$Text_Diff_Renderer_inline->_encode( $string );
$string (required) (passed by reference — &)
-

Text_Diff_Renderer_inline::_encode() code WP 6.1.1

function _encode(&$string)
{
    $string = htmlspecialchars($string);
}