For the purpose of customizing (processing) the contents of html
attributes and rendering it, this method resolves the internal URLs the markup may contain.
Transforms internal URLs contained in raw Scrivito HTML markup to fully qualified URLs.
For the purpose of customizing (processing) the contents of html
attributes and rendering it, this method resolves the internal URLs the markup may contain.
Params
htmlString
(String
) – Raw Scrivito HTML markup, typically from an attribute of the html
type.Returns
String
– The HTML markup with all internal links resolved to fully qualified URLs.
Examples
Retrieve the HTML markup of all text widgets on the current page:
Render an html
attribute with resolved internal URLs and filled-in placeholders: