Merge pull request #340 from KLayout/issue-338

Fixed #338 (broken doc)
This commit is contained in:
Matthias Köfferlein 2019-08-30 14:01:52 +02:00 committed by GitHub
commit 16fd8741a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -825,7 +825,7 @@ method_arguments (const gsi::MethodBase *method, const gsi::ClassBase *cls_obj,
if (a->spec ()->has_default ()) {
r += " = ";
if (! a->spec ()->init_doc ().empty ()) {
r += replace_references (a->spec ()->init_doc (), cls_obj);
r += replace_references (escape_xml (a->spec ()->init_doc ()), cls_obj);
} else {
r += escape_xml (a->spec ()->default_value ().to_string ());
}