Description
Script blocks with type application/json are not getting minified to a single line. If I change the type to application/ld+json it all works.
To Reproduce
Input contains
<script id=priceStakDataModel type=application/json> {"selectedTab":"buy"} </script>
Using version 1.17.10
Description Script blocks with type
application/json
are not getting minified to a single line. If I change the type toapplication/ld+json
it all works.To Reproduce Input contains
<script id=priceStakDataModel type=application/json> {"selectedTab":"buy"} </script>
Minified output or stack trace
Excepted output code
<script id=priceStakDataModel type=application/json>{"selectedTab":"buy"}</script>
I'm planning to submit a PR for this as it's an extension of #66