Debian Codegraph @

test/command/suite/select/function/snippet/html_escape.expected

raw
1 table_create Entries TABLE_NO_KEY
2 [[0,0.0,0.0],true]
3 column_create Entries content COLUMN_SCALAR ShortText
4 [[0,0.0,0.0],true]
5 load --table Entries
6 [
7 {"content": "<p>groonga and MySQL</p>"}
8 ]
9 [[0,0.0,0.0],1]
10 select Entries --output_columns ' snippet(content, "groonga", "<span class=\\"keyword\\">", "</span>", {"html_escape": true})'
11 [
12 [
13 0,
14 0.0,
15 0.0
16 ],
17 [
18 [
19 [
20 1
21 ],
22 [
23 [
24 "snippet",
25 null
26 ]
27 ],
28 [
29 [
30 "&lt;p&gt;<span class=\"keyword\">groonga</span> and MySQL&lt;/p&gt;"
31 ]
32 ]
33 ]
34 ]
35 ]