summaryrefslogtreecommitdiff
path: root/archived/projt-launcher/tests/testdata/MetaComponentParse/component_with_mixed.json
blob: 661fc1a3e9623b50e88361f0e35912a03d87199e (plain)
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
{
    "description": [
        {
            "text": "The quick ",
            "color": "blue",
            "italic": true
        },
        {
            "text": "brown fox ",
            "color": "#873600",
            "bold": true,
            "underlined": true,
            "extra": [
                {
                    "text": "jumped over ",
                    "color": "blue",
                    "bold": false,
                    "underlined": false,
                    "italic": true,
                    "strikethrough": true
                }
            ]
        },
        {
            "text": "the lazy dog's back. ",
            "color": "green",
            "bold": true,
            "italic": true,
            "underlined": true,
            "strikethrough": true,
            "extra": [
                {
                    "text": "1234567890 ",
                    "color": "black",
                    "strikethrough": false,
                    "extra": [
                        "How vexingly quick daft zebras jump!"
                    ]
                }
            ]
        }
    ],
    "expected_output":
        "<span style=\"color: blue; font-style: italic;\">The quick </span><span style=\"color: #873600; font-weight: bold;\"><u>brown fox </u><span style=\"color: blue; font-weight: normal; font-style: italic;\"><s>jumped over </s></span></span><span style=\"color: green; font-weight: bold; font-style: italic;\"><s><u>the lazy dog's back. </u></s><span style=\"color: black;\"><u>1234567890 </u>How vexingly quick daft zebras jump!</span></span>"
}