diff --git a/src/components/ComponentToPrint/ComponentToPrint.js b/src/components/ComponentToPrint/ComponentToPrint.js index 0c864cd..5debbbc 100644 --- a/src/components/ComponentToPrint/ComponentToPrint.js +++ b/src/components/ComponentToPrint/ComponentToPrint.js @@ -41,7 +41,7 @@ class ComponentToPrint extends React.Component { const { dataSource, } = this.props; - const componentStr = sanitize(this.template(dataSource)); + const componentStr = sanitize(this.template(dataSource), { ADD_TAGS: ['Barcode'] }); const Component = this.parser.parseWithInstructions(componentStr, () => true, this.rules) || null; return (