PRELIMINARY INFORMATION - SUBJECT TO CHANGE
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Cleans html markup according to doc type settings and optionally webrichtlijnen.
Namespace: Smartsite.Runtime
Assembly: Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)
Syntax
C# | Copy Code |
---|---|
[] public static string CleanHtml( context, string html, docType, scope, bool webRichtlijnen ) |
Visual Basic (Declaration) | Copy Code |
---|---|
<> _ Public Shared Function CleanHtml ( _ context As , _ html As , _ docType As , _ scope As , _ webRichtlijnen As _ ) As |
Parameters
- context
- IRenderContext
The context.
- html
- String
The html document to tidy.
- docType
- StandardsComplianceDocTypes
The doc type to use.
- scope
- StandardsComplianceReturnScope
The part of the document ot be returned.
- webRichtlijnen
- Boolean
Attempt to conform to 'webrichtlijnen'.
Return Value
Cleaned up html.See Also
Smartsite.Runtime Namespace