simplify the raw json parsing
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com> Fixed Tests Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
@@ -7,12 +7,15 @@
|
||||
"italic": true,
|
||||
"extra": [
|
||||
{
|
||||
"extra": "Component!",
|
||||
"extra": [
|
||||
"Component!"
|
||||
],
|
||||
"bold": false,
|
||||
"italic": false
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"expected_output": "<font color=\"red\"><b><i>Hello, </i></b></font><font color=\"red\">Component!</font>"
|
||||
"expected_output":
|
||||
"<span style=\"color: red; font-weight: bold; font-style: italic;\">Hello, <span style=\"font-weight: normal; font-style: normal;\">Component!</span></span>"
|
||||
}
|
||||
Reference in New Issue
Block a user