File "convert.php"

Full Path: /home/warrior1/public_html/wp-content/plugins/mailpoet/vendor/soundasleep/html2text/convert.php
File size: 435 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
if (!defined('ABSPATH')) exit;
if (count($argv) < 2) {
 throw new \InvalidArgumentException("Expected: php -f convert.php [input file]");
}
if (!file_exists($argv[1])) {
 throw new \InvalidArgumentException("'" . $argv[1] . "' does not exist");
}
$input = file_get_contents($argv[1]);
require_once(__DIR__ . "/src/Html2Text.php");
require_once(__DIR__ . "/src/Html2TextException.php");
echo Html2Text\Html2Text::convert($input);