Changes in version 0.4-3 (2025-12-17) o fix URL in vignette Changes in version 0.4-2 (2025-04-01) o add a character method for "toText", which for named vectors pastes names and values, e.g. toText(c(NAME = "Lisa")) becomes NAME:Lisa o "HTMLrm" gains an argument "tag.replace", which is used when replacing tags like '' and ''; default is "", which matches the current behaviour o "toHTML" for data.frames: "col.names" may be a character vector, just like for "row.names" Changes in version 0.4-1 (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 Changes in version 0.3-2 (2023-04-01) o minor documentation updates o there is an additionat git repository at https://git.sr.ht/~enricoschumann/textutils Changes in version 0.3-1 o "HTMLencode" now translates non-breaking spaces into " ". Before, it used " ", which is valid but (apparently) less supported. Changes in version 0.3-0 o new function "insert", for inserting elements into a vector Changes in version 0.2-2 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. Changes in version 0.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 Changes in version 0.2-0 (2020-01-07) 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 Changes in version 0.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' Changes in version 0.1-10 o 'toHTML.data.frame' gains a new argument 'eol' Changes in version 0.1-9 (2018-08-17) o new function 'fill_in' o new function 'title_case' o new function 'TeXencode' Changes in version 0.1-8 o new method 'toHTML.data.frame' Changes in version 0.1-7 o small update in vignette Changes in version 0.1-6 (2016-12-16) o CRAN release Changes in version 0.1-5 o functions 'char2num' and 'expstr' are removed (for the latter, use 'strexp' instead) Changes in version 0.1-4 o new function 'spaces' Changes in version 0.1-3 o new function 'HTMLdecode' Changes in version 0.1-2 o TeXunits: both 'from' and 'to' can be vectors of length > 1 Changes in version 0.1-1 o new function 'TeXunits' Changes in version 0.1-0 o First release. The main purpose of the package is to provide generic functions: toHTML and toText.