841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
|
};
/**
Parses a string as HTML.
Usages:
Array (htmlString)
DOMElement (DOMElement target, htmlString)
The first form parses the string as HTML and returns an Array of
all elements parsed from it. If string is falsy then it returns
an empty array.
The second form parses the HTML string and appends all elements
to the given target element using dom.append(), then returns the
|
|
|
|
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
|
};
/**
Parses a string as HTML.
Usages:
Array parseHtml(htmlString)
DOMElement parseHtml(DOMElement target, htmlString)
The first form parses the string as HTML and returns an Array of
all elements parsed from it. If string is falsy then it returns
an empty array.
The second form parses the HTML string and appends all elements
to the given target element using dom.append(), then returns the
|