Then we see the code for a split second when refreshing the page other then that shows blank.
We tried adding to the code but doesn’t seem to help. Any suggestions ?
Looks like if I do something like the following seems to work most of the time. I have come across one page where it seems not to work. Shows in preview mode but doesn’t show when saved.
We also noticed a White-space issue were multi extra lines were getting added to the script. We solved the issue by changing CSS from white-space:pre to white-space:inherit.
found here
It should always work if you use clean=false. You could also check the browser’s javascript console for errors.
Not sure what you mean here. Would need an example to tell you more. Just note that white spaces and new lines are significant in XWiki (they’re honored). So if you 2 NLs you’ll see 2NLs in the rendered HTML. Same for spaces. That’s the normal behavior of XWiki.