Stream Chat Unreal SDK
Loading...
Searching...
No Matches
FHtmlParser Class Reference

Parses a subset of XHTML Does NOT support: More...

#include <HtmlParser.h>

Public Types

using FCallbackFn = TFunction< void(const FHtmlParser &Parser)>
 

Public Member Functions

 FHtmlParser (const FString &Source, FCallbackFn InCallback)
 
bool Parse ()
 
FTextRange GetContentRange () const
 
FTextRange GetOriginalRange () const
 
FStringView GetContent () const
 
const FString & GetOutput () const
 

Public Attributes

uint32 Line = 0
 
int32 ParagraphStartIndex = 0
 
TArray< FElement > ElementStack
 

Detailed Description

Parses a subset of XHTML Does NOT support:

  • empty attribute syntax
  • unquoted attribute value syntax
  • single-quoted attribute value syntax
  • void elements without the trailing slash

The documentation for this class was generated from the following files: