November Happy Hour will be moved to Thursday December 5th.

Class ImplicitCDataFragment

Represents an implicit CDATA fragment, such as the text in a <script> or <style> tag.

Inheritance
System.Object
ImplicitCDataFragment
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.HtmlParsing
Assembly: EPiServer.Framework.dll
Version: 10.10.4
Syntax
public class ImplicitCDataFragment : TextFragment
Remarks

The text in style and script should be parsed "as-is" until we find a closing style/script tag and completely ignore anything else that may appear within the text. This is very similar to how we would treat an explicit CDATA appearing within a style/script tag.

Note that an ImplicitCDataFragment is actually seen as a TextFragment - the HtmlFragmentType will be set to TextFragment. The only difference between a TextFragment and an ImplicitCDataFragment is the actual parsing.

Constructors

ImplicitCDataFragment()

Declaration
public ImplicitCDataFragment()

Methods

Parse(IHtmlParserContext)

Parses the fragment from the specified context.

Declaration
public override void Parse(IHtmlParserContext context)
Parameters
Type Name Description
IHtmlParserContext context

The context.

Overrides

Extension Methods