summaryrefslogtreecommitdiff
path: root/editor/doc/doc_data.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-06-25 14:13:01 +0200
committerGitHub <noreply@github.com>2019-06-25 14:13:01 +0200
commit2644f47e509b1fd5ec542d82bc183379195a7050 (patch)
tree5e90bc5360e1dbf6dec9a4fdb5d49ff23aacdd1b /editor/doc/doc_data.cpp
parentc93bea312ffc45b18f3d7d2e4f01476fc7848e93 (diff)
parent615ffb350702976983a6b5d1df0847d07b99e121 (diff)
Merge pull request #30065 from akien-mga/docdata-theme-items
doctool: Fix writing theme_item descriptions
Diffstat (limited to 'editor/doc/doc_data.cpp')
-rw-r--r--editor/doc/doc_data.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/doc/doc_data.cpp b/editor/doc/doc_data.cpp
index 7d2159d365..041f81d063 100644
--- a/editor/doc/doc_data.cpp
+++ b/editor/doc/doc_data.cpp
@@ -1126,6 +1126,7 @@ Error DocData::save_classes(const String &p_default_path, const Map<String, Stri
const PropertyDoc &p = c.theme_properties[i];
_write_string(f, 2, "<theme_item name=\"" + p.name + "\" type=\"" + p.type + "\">");
+ _write_string(f, 3, p.description.strip_edges().xml_escape());
_write_string(f, 2, "</theme_item>");
}
_write_string(f, 1, "</theme_items>");