From b9886e472a2b802726a82b118813bea0dd497a0d Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Fri, 30 Aug 2019 13:34:19 +0200 Subject: [PATCH] Fixed #338 (broken doc) --- src/lay/lay/layGSIHelpProvider.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lay/lay/layGSIHelpProvider.cc b/src/lay/lay/layGSIHelpProvider.cc index 75f32bb36..ee14780c4 100644 --- a/src/lay/lay/layGSIHelpProvider.cc +++ b/src/lay/lay/layGSIHelpProvider.cc @@ -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 ()); }