-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNEWS
144 lines (90 loc) · 3.34 KB
/
NEWS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
v0.4-2 (2025-01-23; not yet released)
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 '<something>' and
'</something>'; default is "", which matches the
current behaviour.
o "toHTML" for data.frames: "col.names" may be a
character vector, just like for "row.names"
o ....
v0.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
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.