Function: contentsToString()
Estimated reading time: less than 1 minuteJoins raw string html elements into a single html string.
A raw html fragment is just an array of strings, this method concatenates them.
Parameters
this
void
contents
Children[]
An maybe nested array of strings to concatenate.
escape?
boolean
If it should escape the contents before concatenating them. Default is false
Returns
Element
The concatenated and escaped string of contents.