From df63a85f3e6d8a1f37ef9679c77ba6b10dbd0c6e Mon Sep 17 00:00:00 2001 From: Paul Massendari Date: Wed, 11 Oct 2017 19:05:01 +0200 Subject: [PATCH] Specify type in inlineJS (#1683) 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 \n"; + if ($inline['type']){ + $attributeString = " type=\"" . $inline['type'] . "\""; + } + $output .= "\n" . $inline_js . "\n\n"; } return $output;