DiviArea.Data.sanitizeId(id, linkPrefix)
Sanitize an area ID string: Return a ID with leading hash.
Params
id- The (unsanitized) area ID.
linkPrefix- Optional, the linkPrefix to remove from the ID.
Returns
Returns a string that starts with a #, e.g. '#the-area'.
Notes
No notes