Commit 354218b7 by Sjoerd de Jong

use the root parser if defined

this change reuses the parser that is defined, instead of the default parser
parent 14b9fd33
...@@ -21,7 +21,9 @@ module.exports= class DocxQrCode ...@@ -21,7 +21,9 @@ module.exports= class DocxQrCode
@qr.callback= () -> @qr.callback= () ->
_this.ready= true _this.ready= true
_this.result= @result _this.result= @result
testdoc= new _this.xmlTemplater.currentClass @result,{Tags:_this.xmlTemplater.Tags} testdoc= new _this.xmlTemplater.currentClass @result,
Tags:_this.xmlTemplater.Tags
parser:_this.xmlTemplater.parser
testdoc.render() testdoc.render()
_this.result=testdoc.content _this.result=testdoc.content
_this.searchImage() _this.searchImage()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment