Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/System.XML/Mono.Xml.Xsl/HtmlEmitter.cs')
-rw-r--r--mcs/class/System.XML/Mono.Xml.Xsl/HtmlEmitter.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/System.XML/Mono.Xml.Xsl/HtmlEmitter.cs b/mcs/class/System.XML/Mono.Xml.Xsl/HtmlEmitter.cs
index fe9aaff392b..a34f9c7acf2 100644
--- a/mcs/class/System.XML/Mono.Xml.Xsl/HtmlEmitter.cs
+++ b/mcs/class/System.XML/Mono.Xml.Xsl/HtmlEmitter.cs
@@ -55,7 +55,7 @@ namespace Mono.Xml.Xsl
public HtmlEmitter (TextWriter writer, XslOutput output)
{
this.writer = writer;
- indent = output.Indent;
+ indent = output.Indent == "yes" || output.Indent == null;
elementNameStack = new Stack ();
nonHtmlDepth = -1;
outputEncoding = writer.Encoding == null ? output.Encoding : writer.Encoding;