| Index: tools/grit/grit/format/policy_templates/writers/xml_formatted_writer.py
|
| diff --git a/tools/grit/grit/format/policy_templates/writers/xml_formatted_writer.py b/tools/grit/grit/format/policy_templates/writers/xml_formatted_writer.py
|
| index 5917fb447ea5df569b1dc6c62537bcff79798f79..37f51d2f74c8cefc8d6cd50acc680fe9027ea612 100755
|
| --- a/tools/grit/grit/format/policy_templates/writers/xml_formatted_writer.py
|
| +++ b/tools/grit/grit/format/policy_templates/writers/xml_formatted_writer.py
|
| @@ -67,8 +67,8 @@ class XMLFormattedWriter(template_writer.TemplateWriter):
|
| # This is problematic both for the OSX Workgroup Manager (plist files) and
|
| # the Windows Group Policy Editor (admx files). What they need instead:
|
| # <string>value of string</string>
|
| - # So we use the poor man's pretty printer here. It assumes that there are
|
| - # no mixed-content nodes.
|
| + # So we use a hacky pretty printer here. It assumes that there are no
|
| + # mixed-content nodes.
|
| # Get all the XML content in a one-line string.
|
| xml = doc.toxml(**kwargs)
|
| # Determine where the line breaks will be. (They will only be between tags.)
|
|
|