mirror of
https://github.com/getgrav/grav.git
synced 2026-03-04 19:41:36 +01: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">