digitalsparky / jekyll-minifier

Jekyll HTML/XML/CSS/JS Minifier utilising yui-compressor, and htmlcompressor
GNU General Public License v3.0
245 stars 25 forks source link

JSON+LD not getting compressed within HTML #57

Open aebrahim opened 2 years ago

aebrahim commented 2 years ago

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