How to Reduce Whitespace in Idoc Script Generated Pages
(Doc ID 445393.1)
Last updated on MAY 22, 2020
Applies to:Oracle WebCenter Content - Version 10.0 and later
Information in this document applies to any platform.
How to Reduce White Space in Idoc Script Generated Pages
In Content Server 7.5x or earlier, Idoc script on the page may generate a lot of extra white space in the output. If you view the source of the page, the white space makes the source look unattractive and also makes it harder to find the particular HTML source of interest.
To see how this extra white space occurs in standard Idoc script, examine the following construct.
When parsed, the above script turns into four chunks. The first chunk is <$if myParam$>. The second chunk is linefeed followed by “My param text” followed by linefeed. The third chunk is <$endif$>. The final chunk is the linefeed that follows the <$endif$>. Before 10g, when this is evaluated and myParam is true, then “My param text” appears to be both preceded and followed by an unnecessary linefeed.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document