Hi,

Yes, sorry.

Im using grunt as following

   htmlmin: {
      dist: {
        options: {
          collapseWhitespace: true,
          conservativeCollapse: true,
          collapseBooleanAttributes: true,
          removeCommentsFromCDATA: true,
          removeOptionalTags: true,
          removeComments:true,
          minifyJS:true,
          minifyCSS:true
        },
        files: [{
          expand: true,
          cwd: '<%= yeoman.dist %>',
          src: ['*.html', 'views/{,*/}*.html'],
          dest: '<%= yeoman.dist %>'
        },{
            expand: true,
            cwd: '<%= yeoman.dist %>',
            src: [
                'bower_components/{,*/}core-overlay.html',
                'bower_components/{,*/}core-selector.html',
                'bower_components/{,*/}core-a11y-keys.html',
                'bower_components/{,*/}paper-ripple.html',
                'bower_components/{,*/}core-style.html',
                'bower_components/{,*/}core-iconset.html',
                'bower_components/{,*/}core-icons.html',
                'bower_components/{,*/}core-transition-css.html',
                'bower_components/{,*/}paper-shadow.html',
                'bower_components/{,*/}core-icon.html',
                'bower_components/{,*/}core-dropdown.html',
                /*'bower_components/{,*//*}paper-dialog.html',*/
                'bower_components/{,*/}core-selection.html',
                'bower_components/{,*/}core-iconset-svg.html',
                'bower_components/{,*/}core-collapse.html',
                'bower_components/{,*/}core-transition.html',
                'bower_components/{,*/}paper-icon-button.html',
                'bower_components/{,*/}paper-button.html',
                'bower_components/{,*/}core-meta.html',
                'bower_components/{,*/}paper-menu-button.html',
                'bower_components/{,*/}core-dropdown-overlay.html',
                'bower_components/{,*/}paper-focusable.html',
                /*'bower_components/{,*//*}paper-radio-button.html',*/
                'bower_components/{,*/}core-submenu.html',
                /*'bower_components/{,*//*}paper-checkbox.html',*/
                /*'bower_components/{,*//*}paper-item.html',*/
                'bower_components/{,*/}core-menu.html',
                'bower_components/{,*/}layout.html',
                'bower_components/{,*/}paper-menu-button-transition.html',
                'bower_components/{,*/}paper-button-base.html',
                'bower_components/{,*/}core-overlay-layer.html',
                'bower_components/{,*/}paper-radio-group.html',
                /*'bower_components/{,*//*}core-item.html',*/
                'bower_components/{,*/}core-icons.html',
                'bower_components/{,*/}polymer.html',
                'bower_components/{,*/}paper-dialog-transition.html',
                'bower_components/{,*/}core-key-helper.html',
                'bower_components/{,*/}web-animations.html',
                /*'bower_components/{,*//*}core-header-panel.html',*/
//                'bower_components/{,*/}core-drawer-panel.html',
                'bower_components/{,*/}core-toolbar.html',
                'bower_components/{,*/}core-media-query.html',
                /*'bower_components/{,*//*}paper-dropdown-menu.html',*/
                'bower_components/{,*/}core-range.html',
                'bower_components/{,*/}paper-progress.html'
                /*'bower_components/{,*//*}core-input.html',*/
                /*'bower_components/{,*//*}paper-input.html'*/],
            dest: '<%= yeoman.dist %>'
        }]
      }
    }

Just when I copied the text I realize that the issue is with " 
collapseBooleanAttributes: 
true,"

Sorry for the inconveniences. 

Best Regards,
Ignacio


On Thursday, October 23, 2014 2:56:45 PM UTC-3, Eric Bidelman wrote:
>
> Can you be more specific on the minifier you're using? It shouldn't trip 
> out attribute values from the markup.
>
> On Thu, Oct 23, 2014 at 10:46 AM, <[email protected] <javascript:>> 
> wrote:
>
>> Hi,
>>
>>
>> If my code use some polymer elements that have attribute like 
>> "select='something'" and I try to minify my file, the generate html file is 
>> broken. How ?
>>
>> If I have 
>>
>> {code}
>> <core-selector selected="tab1" horizontal justified layout center>
>> ....
>> </core-selector>
>> {code}
>>
>> the minify version is
>>
>> {code}
>> <core-selector selected horizontal justified layout 
>> center>....</core-selector>
>> {code}
>>
>> is there a way to specify not to resolver the select attribute ? 
>> If I modify the polymer element and change selected to selectedElement or 
>> another name it work without problem.
>>
>> Today minify my html and polymer elements are crucial because my page use 
>> several polymer elements (almost 8) and without minification the page is 
>> huge and heavy.
>>
>> Also...can Polymer provides a minimised version of the components (css, 
>> js, html) ? 
>>
>> Best regards,
>> Ignacio
>>
>> Follow Polymer on Google+: plus.google.com/107187849809354688692
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Polymer" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/polymer-dev/b9cd9dd4-8a94-4e7c-b80a-75937e97304a%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/polymer-dev/b9cd9dd4-8a94-4e7c-b80a-75937e97304a%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/63f85554-971f-4979-9d8d-31877c257ed2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to