Instance MethodMethodprocess(_:
process(_:currentDepth:)
Processes HTML content, replacing doc:// URLs with proper links.
func process(
_ html: String,
currentDepth: Int
) -> StringParameters
htmlThe HTML content to process.
currentDepthThe depth of the current page for calculating relative URLs.
Return Value
The processed HTML content with resolved links.