summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBojidar Marinov <bojidar.marinov.bg@gmail.com>2016-05-13 16:53:08 +0300
committerBojidar Marinov <bojidar.marinov.bg@gmail.com>2016-05-13 16:53:08 +0300
commit4cbf74da7107a255ceecc602a76f72dde2b77c05 (patch)
tree01c6325be1ef67883d07245f014465369f7a7e96
parent1bdda9a92255d7c333b2ee621179d178b355e11a (diff)
Save member information in docdata
Closes #4609
-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>");
}