a4e6530513
In the documentation it states that child values can override the parent values. Originally this code did not support that but now it does. Also added in testing inspired by the previous tests. Signed-off-by: cullvox <cullvox@outlook.com>
18 lines
383 B
JSON
18 lines
383 B
JSON
{
|
|
"description": [
|
|
{
|
|
"text": "Hello, ",
|
|
"color": "red",
|
|
"bold": true,
|
|
"italic": true,
|
|
"extra": [
|
|
{
|
|
"extra": "Component!",
|
|
"bold": false,
|
|
"italic": false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"expected_output": "<font color=\"red\"><b><i>Hello, </i></b></font><font color=\"red\">Component!</font>"
|
|
} |