Skip to content

google{some-id}.html file is damaged #5

@dmitrysmagin

Description

@dmitrysmagin

I've noticed that file needed for google search console is damaged by this plugin.
Originally, it's a plain text file (despite the extension):

google-site-verification: google{some-id}.html

But this plugin turns it into:

<html><head></head><body>google-site-verification: google{some-id}.html</body></html>

We definitely need a detection if the file is plain text or html inside or add ignore setting for certain files.

Or use this tip to explicitly not modify plain files:

Image

https://cheerio.js.org/docs/basics/loading

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions