jekyll-minifier icon indicating copy to clipboard operation
jekyll-minifier copied to clipboard

JSON+LD not getting compressed within HTML

Open aebrahim opened this issue 2 years ago • 0 comments

In my HTML page, I've found that including JSON+LD is not getting compressed while other script tags are

<script type="application/ld+json">
{
    "@context": "https://schema.org",
    // etc
}
</script>

My settings in _config.yml are

jekyll-minifier:
  uglifier_args:
    harmony: true
  remove_intertag_spaces: true

aebrahim avatar Oct 11 '21 19:10 aebrahim