diff --git a/doc/classes/TextEdit.xml b/doc/classes/TextEdit.xml
index 30eb8960d0e..79f0d7565ea 100644
--- a/doc/classes/TextEdit.xml
+++ b/doc/classes/TextEdit.xml
@@ -552,7 +552,7 @@
- Sets the [StyleBox] of this [TextEdit] when [member read_only] is enabled.
+ Sets the [StyleBox] of this [TextEdit] when [member readonly] is enabled.
diff --git a/editor/doc/doc_data.cpp b/editor/doc/doc_data.cpp
index 30d2af3a72a..316adaecf54 100644
--- a/editor/doc/doc_data.cpp
+++ b/editor/doc/doc_data.cpp
@@ -1127,6 +1127,7 @@ Error DocData::save_classes(const String &p_default_path, const Map");
+ _write_string(f, 3, p.description.strip_edges().xml_escape());
_write_string(f, 2, "");
}
_write_string(f, 1, "");