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

This commit is contained in:
nvrl committed 2026-03-18 17:48:31 +01:00
1 parent a2ec8660c7
commit ca7ebc9563
6 files changed
+197 -19

No files matched your search

+2 -3
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) => {