check_other_hyperlinks: Check and format non-image hyperlinks

View source: R/global.R

check_other_hyperlinksR Documentation

Description

This function checks if the input string contains a non-image hyperlink and formats it as an HTML anchor tag.

Usage

check_other_hyperlinks(x)

Arguments

x

A character string to check for non-image hyperlinks.

Value

A character string with the HTML anchor tag if a non-image hyperlink is found, otherwise the input string.

Examples

check_other_hyperlinks("https://example.com/page")
check_other_hyperlinks("https://example.com/image.png")
check_other_hyperlinks("https://example.com/image.jpg")

One4All documentation built on July 4, 2024, 1:08 a.m.