Function href_canonical

  • Fix for anchor tag href attribute, if it comes from Wordpress or some other content editor

    Returns

    • modified href

    Parameters

    • href: string

      link url

    • host: string

      canonical host - if not provided, will use window.location.host

    Returns string

Generated using TypeDoc