Grails

Grails incorrectly closes HTML meta tag thus producing invalid HTML

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.2 final
  • Fix Version/s: 1.2.1
  • Component/s: None
  • Labels:
    None

Description

Something in Grails is closing the HTML meta tag.

Example:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="layout" content="main">

gets translated to:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="layout" content="main"/>

While this is valid XHTML, it is invalid HTML and will fail HTML 4.01 Transitional validation.

Setting grails.views.gsp.sitemesh.preprocess=false in Config.groovy does not help.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: