20 lines
792 B
Diff
20 lines
792 B
Diff
diff --git a/tools/generate-docs-nm-settings-docs-gir.py b/tools/generate-docs-nm-settings-docs-gir.py
|
|
index ebda99560a..317b32972a 100755
|
|
--- a/tools/generate-docs-nm-settings-docs-gir.py
|
|
+++ b/tools/generate-docs-nm-settings-docs-gir.py
|
|
@@ -244,8 +244,12 @@ def usage():
|
|
"%s needs a gtk-doc block with one-line description" % setting.props.name
|
|
)
|
|
outfile.write(
|
|
- ' <setting name="%s" description="%s" name_upper="%s" >\n'
|
|
- % (setting.props.name, class_desc, get_setting_name_define(settingxml))
|
|
+ ' <setting name="%s" description=%s name_upper="%s" >\n'
|
|
+ % (
|
|
+ setting.props.name,
|
|
+ xml_quoteattr(class_desc),
|
|
+ get_setting_name_define(settingxml),
|
|
+ )
|
|
)
|
|
|
|
setting_properties = {
|