Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

fix for GRAILS-9834 '<g:external> : media="screen, projector" but should be media="screen, projection"' #329

Closed
wants to merge 1 commit into from

2 participants

@lhotari
Owner

Closing outdated pull requests. Please send new PR for Grails 2.3.x or 2.4.x branch if this is still relevant.

@lhotari lhotari closed this
@nobeans

I've just sent new PR: #530

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 12, 2013
  1. @nobeans

    fix for GRAILS-9834 '<g:external> : media="screen, projector" but sho…

    nobeans authored
    …uld be media="screen, projection"'
This page is out of date. Refresh to see the latest.
View
2  grails-plugin-gsp/src/main/groovy/org/codehaus/groovy/grails/plugins/web/taglib/ApplicationTagLib.groovy
@@ -273,7 +273,7 @@ class ApplicationTagLib implements ApplicationContextAware, InitializingBean, Gr
}
static SUPPORTED_TYPES = [
- css:[type:"text/css", rel:'stylesheet', media:'screen, projector'],
+ css:[type:"text/css", rel:'stylesheet', media:'screen, projection'],
js:[type:'text/javascript', writer:'js'],
gif:[rel:'shortcut icon'],
View
4 grails-test-suite-web/src/test/groovy/org/codehaus/groovy/grails/web/taglib/ApplicationTagLibTests.groovy
@@ -741,7 +741,7 @@ class ApplicationTagLibTests extends AbstractGrailsTagTests {
assertOutputEquals '<script src="/js/main.js" type="text/javascript"></script>\r\n', template
template = '<g:external uri="/css/style.css"/>'
- assertOutputEquals '<link href="/css/style.css" type="text/css" rel="stylesheet" media="screen, projector"/>\r\n', template
+ assertOutputEquals '<link href="/css/style.css" type="text/css" rel="stylesheet" media="screen, projection"/>\r\n', template
template = '<g:external uri="/css/print.css" media="print"/>'
assertOutputEquals '<link href="/css/print.css" type="text/css" rel="stylesheet" media="print"/>\r\n', template
@@ -755,7 +755,7 @@ class ApplicationTagLibTests extends AbstractGrailsTagTests {
assertOutputEquals '<script src="/js/main.js?requestDataValueProcessorParamName=paramValue" type="text/javascript"></script>\r\n', template
template = '<g:external uri="/css/style.css"/>'
- assertOutputEquals '<link href="/css/style.css?requestDataValueProcessorParamName=paramValue" type="text/css" rel="stylesheet" media="screen, projector"/>\r\n', template
+ assertOutputEquals '<link href="/css/style.css?requestDataValueProcessorParamName=paramValue" type="text/css" rel="stylesheet" media="screen, projection"/>\r\n', template
template = '<g:external uri="/css/print.css" media="print"/>'
assertOutputEquals '<link href="/css/print.css?requestDataValueProcessorParamName=paramValue" type="text/css" rel="stylesheet" media="print"/>\r\n', template
Something went wrong with that request. Please try again.