Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix pretty print and indentions for sub templates

  • Loading branch information...
commit b323dae55c94bd0bef59aa71eaead4cec11c3a23 1 parent f6f015d
@dodo authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  src/xml.coffee
View
2  src/xml.coffee
@@ -67,6 +67,8 @@ add_tag = (newtag, callback) ->
wire_tag = (_, tag) =>
tag.builder ?= @builder
tag.parent ?= this
+ tag.builder.opts.pretty = @builder.opts.pretty
+ tag.builder.level = @level
connect_tags(this, tag)
Please sign in to comment.
Something went wrong with that request. Please try again.