Hi,
I am trying to setup schema.orgJSON-LD
on my site. I have an HTML element and I’m printing the JSON there and for the most part it’s working. However, it seems format as text
is only outputting about 50 or so records, when there several hundred to output:
It seems the output is being truncated with ellipsis at the end …
The reason I believe it is the format as text
is because it still closes the script
tag at the end, which is part of the Arbitrary text output.
Is there a limit on how much can be formatted and outputted in format as text
?
Thank you.
Matt
There is no limit and it is not truncated. Your browser is possibly displaying it truncated in the script.
1 Like
If you display it in your browser’s console, you will probably notice that there is a “show more” text in the very end where you can click to show them all… As George said, i belive your browser is limiting the view of the entire script…
Did you try to download it to see if everything is beeing generated correctly?
1 Like
Thanks for the reply folks. As it turns out, there is no truncating happening. It was the browsers inspector doing it.
What threw me off if I tried 2 different browsers and they both cut it at the same exact place.
1 Like