1
0
Fork 0
mirror of https://github.com/yunluo/gdk.git synced 2024-06-01 21:32:18 +02:00
gdk/modules/base/lib/phpQuery/phpQuery/plugins/Scripts/print_websafe.php
2020-01-25 14:52:35 +08:00

13 lines
306 B
PHP

<?php
/**
* Script makes content safe for printing as web page and not redirecting client.
*
* @author Tobiasz Cudnik <tobiasz.cudnik/gmail.com>
*/
/** @var phpQueryObject */
$self = $self;
$self
->find('script')
->add('meta[http-equiv=refresh]')
->add('meta[http-equiv=Refresh]')
->remove();