This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.
TypoScript Reference for sourceopt¶
All configuration of sourceopt (beside the obsolete) can be done via constant editor (“PLUGIN.SOURCEOPT”)
Certainly you also can set the configuration directly via TypoScript setup.
Here is a reference that is valid for both, TypoScript setup and Constant Editor:
|sourceopt.enabled||boolean||Is the optimization enabled for this template||1|
|sourceopt.removeGenerator||boolean||Remove <meta name="generator" content="TYPO3 x.x CMS">||1|
Removes the script in the head that defines the blur-function and also removes the "onFocus="blurLink(this);"" of tags;
May cause problems if you work with JS
|sourceopt.removeComments.keep.10||boolean||Spare this comments from remove: Regular expressions that match comments that should not be removed. Very useful e.g. to keep the TYPO3SEARCH-Comments so indexed_search can work properly||/^TYPO3SEARCH_/usi|
Formats the code beautiful and easy readable. New lines and tabs are used in the usual way of illustrating the structure of an XML code.
This is a great help for developing and checking the code as well as compressing the code that it is faster transferred to the user agent.
|sourceopt.formatHtml.tabSize||integer||Defines the size of the tabs used for formating. If blank one tab is used. If a number is specified the specified number of blank spaces is used instead. This will only work together with formatHtml||
|sourceopt.formatHtml.debugComment||boolean||Includes a comment at the end of the html source code that points the numbers of open html tags. This will only work together with formatHtml||