 
         it "accepts 'renderer:' prefix", ->
             doc = render
-                html: """<b n-style="renderer:Rectangle" />"""
+                html: '<b n-style="renderer:Rectangle" />'
 
             assert.is doc.styles.length, 1
             assert.instanceOf (style = doc.styles[0]).item, Renderer.Rectangle
 
         it "accepts 'styles:file' syntax", ->
             doc = render
-                html: """<b n-style="styles:file" />"""
+                html: '<b n-style="styles:file" />'
                 styles:
                     file:
                         _main:


            assert.is item.text, node.text

        it "is not created if has a text parent", ->
            doc = render
                html: """<b n-style="styles:file">ab</b>"""
                styles:
                    file:
                        _main:

            assert.is item.text, ''
            assert.is item.$.text, node.stringifyChildren()

    describe 'Element.Text', ->
        it 'is rendered as Renderer.Text', ->
            doc = render
                html: '<b>abc</b>'

            assert.is doc.styles.length, 1
            assert.instanceOf node = (style = doc.styles[0]).node, Element.Text
            assert.is node.text, 'abc'
            assert.instanceOf item = style.item, Renderer.Text

        it 'text is properly synchronized', ->
            doc = render
                html: '<b>abc</b>'

            node = doc.node.query '#text'
            item = doc.styles[0].item
