mirror of
https://github.com/getgrav/grav.git
synced 2026-05-23 17:01:05 +02:00
This commit allows users to specify type to inlineJS via a 4th parameter . This might be useful for those who would like to output encoded json microdata which require to use <script type="application/ld+json"> to be valid. Exemple usage: $assets->addInlineJs($outputjson, 100,'', "application/ld+json"); which will output: <script type="application/ld+json">