ht: Convert to HTML entities

View source: R/html.R

hR Documentation

Convert to HTML entities

Description

Internal functions used to convert elements to HTML.

t() is converts a list of character vectors to HTML.

ht() converts a vector of translation labels to a list of HTML translated entities.

ph() pastes HTML entities.

Usage

h(t)

ht(x, i18n)

ph(...)

Arguments

t

Character vector or list

x

Character vector or list

i18n

Object containing translations

...

Elements to be pasted.

Value

t() and ht(): if x is a 1-length character, an HTML object; if x is a vector with length > 1, a list of HTML objects; if x is a list of vectors, a list of objects.

ph(): an HTML element.

Note

License: GPL 3.0

Author(s)

Luigi Ranghetti, phD (2020) ranghetti.l@irea.cnr.it


ranghetti/guinterp documentation built on July 11, 2024, 12:19 p.m.