Miscellaneous
stripLinks()
Signature
Section titled “Signature”stripLinks() — returns any
Description
Section titled “Description”Removes all links from an HTML string, leaving just the link text.
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
html | string | yes | — | The HTML to remove links from. |
Examples
Section titled “Examples”<!--- Outputs "<strong>Wheels</strong> is a framework for ColdFusion." --->
#stripLinks("<strong>Wheels</strong> is a framework for <a href=""http://www.adobe.com/products/coldfusion"">ColdFusion</a>.")#