Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-267

url(label: 'test') { CDATA(body) }

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-beta-2, 1.0-beta-3, 1.0-beta-4
    • 1.0-beta-8
    • None
    • None

    Description

      Groovy Markup with both content data and attribute doesn't work. I have testet both with MarkupBuilder and DOMBuilder.

      I have tested the following which doesn't work:
      url(label: 'test')

      { ['some text content'] }

      url(label: 'test')

      { 'some text content' }

      url(label: 'test') ['some text content']

      This work, only attribute:
      url(label: 'test')

      This work, only content:
      url('some text content')

      What should the correct syntax be?

      Attachments

        1. MarkupBuilder.patchfile.txt
          0.9 kB
          sstirling

        Activity

          People

            guillaume Guillaume Sauthier
            senikk Terje Pedersen
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: