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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment