79398343

Date: 2025-01-29 22:38:02
Score: 0.5
Natty:
Report link

JSON inside single quoted attributes just to be safe and with these flags:

php

$json = json_encode( $data, JSON_HEX_QUOT | JSON_HEX_TAG | JSON_HEX_AMP | JSON_HEX_APOS );

html

<div data-json='<?= $json; ?>'></div>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: DrLightman