implemented undotree with redo
All checks were successful
Version Check / check-version (pull_request) Successful in 3s

This commit is contained in:
2026-03-18 17:48:31 +01:00
parent a2ec8660c7
commit ca7ebc9563
6 changed files with 197 additions and 19 deletions

View File

@@ -125,14 +125,13 @@ fn json_to_xml(value: &Value) -> String {
let mut writer = Writer::new_with_indent(Vec::new(), b' ', 4);
fn write_recursive(writer: &mut Writer<Vec<u8>>, value: &Value, key_name: Option<&str>) {
if let Some(k) = key_name {
if k == "$text" {
if let Some(k) = key_name
&& k == "$text" {
if let Some(s) = value.as_str() {
writer.write_event(Event::Text(BytesText::new(s))).unwrap();
}
return;
}
}
match value {
Value::Object(map) => {