v0.4-0 (2024-04-01)
o new function "HTMLrm", which removes HTML tags
o "toHTML" gains an argument "td.id"; if TRUE,
"td"-elements get id attributes
o the data-frame method of "toHTML" gains an argument
"replace.NA", for automatically replacing NAs
v0.3-2 (2023-04-01)
o minor documentation updates
o there is an additionat git repository at
https://git.sr.ht/~enricoschumann/textutils
v0.3-1 (2022-10-24)
o "HTMLencode" now translates non-breaking spaces into
" ". Before, it used " ", which
is valid but (apparently) less supported.
v0.3-0 (2022-09-06)
o new function "insert", for inserting elements
into a vector
v0.2-2 (2022-09-03)
o "legacy" named character references without a
trailing semicolon, such as ¬ or <, are now
properly handled, for instance
HTMLdecode("¶llel is good") ## "¶llel is good"
HTMLdecode("∥ is good")
All references listed at
https://html.spec.whatwg.org/multipage/named-characters.html#named-character-references
are supported.
v0.2-1 (2021-04-01)
o fix handling of "¬" in 'HTMLdecode' (thanks to
Fangzhou Xie for reporting the error)
o toHTML.data.frame: fix handling of single-row
dataframes
o toHTML.data.frame: new argument 'col.names', with
default TRUE. If FALSE, column names of data frame
are ignored. Also, 'row.names' may now be either
logical (as before) or a string, which is then used
as column name.
o 'toText' gains a method for data frames
v0.2-0 (2019-12-30)
o fix 'here': argument 'trim' was ignored for
character vectors
o function 'HTMLdecode' now also decodes decimal and
hexadecimal character references, controlled by new
arguments 'named', 'hex' and 'decimal'
o function 'HTMLencode' gains an argument
'encode.only', to restrict characters to be encoded
v0.1-11 (2019-05-01)
o fix 'HTMLencode' (thanks to Jacqueline Nolis for
reporting the error); the function also gains
a new argument 'use.iconv'
o new function 'here'
v0.1-10 (2018-12-14)
o 'toHTML.data.frame' gains a new argument 'eol'
v0.1-9 (2018-08-16)
o new function 'fill_in'
o new function 'title_case'
o new function 'TeXencode'
v0.1-8 (2017-06-21)
o new method 'toHTML.data.frame'
v0.1-7 (2017-03-30)
o small update in vignette
v0.1-6 (2016-12-16)
o CRAN release
v0.1-5 (2016-12-16)
o functions 'char2num' and 'expstr' are removed (for
the latter, use 'strexp' instead)
v0.1-4 (2016-11-28)
o new function 'spaces'
v0.1-3 (2016-11-25)
o new function 'HTMLdecode'
v0.1-2 (2016-06-14)
o TeXunits: both 'from' and 'to' can be vectors of
length > 1
v0.1-1 (2016-06-14)
o new function 'TeXunits'
v0.1-0 (2016-02-22)
o First release. The main purpose of the package is
to provide generic functions: toHTML and toText.