Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

META description disappear when loading a full HTML page #6

Open
Acksop opened this issue May 13, 2024 · 0 comments
Open

META description disappear when loading a full HTML page #6

Acksop opened this issue May 13, 2024 · 0 comments

Comments

@Acksop
Copy link

Acksop commented May 13, 2024

When I load a HTML page like this, All my META descriptions disappear.
Does html-pretty-min has a method to keep META and OG safe ?

require_once dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'vendor/autoload.php';
$app = new \B25\Classe\Application();

ob_start();
$app->launch();
$content = ob_get_clean();

$pm = new Wa72\HtmlPrettymin\PrettyMin();

echo $pm
    ->load($content)
    ->minify()
    ->saveHtml();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant