mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-11-28 02:00:25 +00:00
16 lines
270 B
PHP
16 lines
270 B
PHP
<?php
|
|
|
|
namespace PortableInfobox\Sanitizers;
|
|
|
|
class NodeTitleSanitizer extends NodeSanitizer {
|
|
/**
|
|
* @param mixed $data
|
|
* @return mixed
|
|
*/
|
|
public function sanitize( $data ) {
|
|
$data['value'] = $this->sanitizeElementData( $data['value'] );
|
|
|
|
return $data;
|
|
}
|
|
}
|