summaryrefslogtreecommitdiff
path: root/tools/doc/doc_data.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2016-05-13 16:33:57 +0200
committerRémi Verschelde <remi@verschelde.fr>2016-05-13 16:33:57 +0200
commitbd3dbe5fa306c96f79190ccfcd116436d27acb93 (patch)
tree3fda603c2f45f0320bfdb086c02b8c3026b69516 /tools/doc/doc_data.cpp
parentce70c844d1512e713224ea1ad6fe1e86c012085b (diff)
parent4cbf74da7107a255ceecc602a76f72dde2b77c05 (diff)
Merge pull request #4650 from bojidar-bg/add-doctool-member
Save member information in docdata
Diffstat (limited to 'tools/doc/doc_data.cpp')
-rw-r--r--tools/doc/doc_data.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/doc/doc_data.cpp b/tools/doc/doc_data.cpp
index 30d419a9f3..0c4751979c 100644
--- a/tools/doc/doc_data.cpp
+++ b/tools/doc/doc_data.cpp
@@ -989,6 +989,8 @@ Error DocData::save(const String& p_path) {
PropertyDoc &p=c.properties[i];
_write_string(f,2,"<member name=\""+p.name+"\" type=\""+p.type+"\">");
+ if (p.description!="")
+ _write_string(f,3,p.description.xml_escape());
_write_string(f,2,"</member>");
}