Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-584

Omit generator meta (from head element) when root element is not html

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 5.1.0.2
    • 5.1.0.2
    • tapestry-core
    • None

    Description

      When using tapestry to generate xml which is not xhtml, the generator meta should be omitted. Currently tapestry will add a head and generator meta to every root element if the SymbolConstants.OMIT_GENERATOR_META == false.

      Solution: check if the root element name is html, if not, don't add even with SymbolConstants.OMIT_GENERATOR_META == false.

      Attachments

        Activity

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

          People

            hlship Howard Lewis Ship
            joostschouten Joost Schouten
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment