{"action":"closed","issue":{"url":"https://api.github.com/repos/pocketjoso/penthouse/issues/54","labels_url":"https://api.github.com/repos/pocketjoso/penthouse/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/pocketjoso/penthouse/issues/54/comments","events_url":"https://api.github.com/repos/pocketjoso/penthouse/issues/54/events","html_url":"https://github.com/pocketjoso/penthouse/issues/54","id":68079011,"number":54,"title":"Broken CSS returned when used with large CSS Files","user":{"login":"darkspotinthecorner","id":569713,"avatar_url":"https://avatars.githubusercontent.com/u/569713?v=3","gravatar_id":"","url":"https://api.github.com/users/darkspotinthecorner","html_url":"https://github.com/darkspotinthecorner","followers_url":"https://api.github.com/users/darkspotinthecorner/followers","following_url":"https://api.github.com/users/darkspotinthecorner/following{/other_user}","gists_url":"https://api.github.com/users/darkspotinthecorner/gists{/gist_id}","starred_url":"https://api.github.com/users/darkspotinthecorner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkspotinthecorner/subscriptions","organizations_url":"https://api.github.com/users/darkspotinthecorner/orgs","repos_url":"https://api.github.com/users/darkspotinthecorner/repos","events_url":"https://api.github.com/users/darkspotinthecorner/events{/privacy}","received_events_url":"https://api.github.com/users/darkspotinthecorner/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-13T11:56:34Z","updated_at":"2015-04-17T08:47:58Z","closed_at":"2015-04-17T08:47:58Z","body":"Hi there, great lib. Thanks a lot for this! :)\r\n\r\nHowever, I managed to get reproduceable broken output when using penthouse with large css file bases.\r\n\r\nJust run the following through your [online tool](http://jonassebastianohlsson.com/criticalpathcssgenerator/):\r\n1. URL: http://www.pferd.de/forums/386-westernreitweise\r\n2. CSS: [Contents of this link](http://c.fhcdn.net/www.pferd.de/css.php;styleid=11&langid=2&d=1428924935&td=ltr&embed=1&sheet=bbcode.css,editor.css,popupmenu.css,reset-fonts.css,vbulletin.css,vbulletin-chrome.css,vbulletin-formcontrols.css,ffnewsletter_widget_guestsubscribe.css,fhtys_block.css,widgets.css,tagcloud.css,sidebar.css,ffsidebar.css,ffblocks_block_html.css,ffblocks_block_ffadvert.css,ffblocks_block_ffadvert.css,ffblocks_block_cmsarticles.css,ffblocks_block_mpfilters.css,ffblocks_block_ffnewsletter_guestsubscribe.css,ffblocks_block_fhtys_poll.css,ffblocks_block_welcome.css,ffblocks_block_buddyonline.css,ffblocks_block_chatuseronline.css,ffblocks_block_socialbuttons.css,ffblocks_block_ffadvert.css,ffblocks_block_tagcloud.css,ffblocks_block_ffadvert.css,marketplace_navbar_tab.css,fflayout_offscreennav.css,relevant_replacements.css,forumhome_sub_forum_manager.css,advertising.css,toolsmenu.css,forumbits.css,forumdisplay.css,threadlist.css,options.css,fh_layout.css,fh_layout_sub.css,fh_layout_subsub.css,additional.css,responsive.css,responsive_forumdisplay.css,fhquickpost.css&nooptimize=1)\r\n\r\nWhen you paste the resulting CSS into the [W3C CSS Validator](https://jigsaw.w3.org/css-validator/#validate_by_input) you will recognize unclosed rule blocks that will result in parse errors. The original CSS however seems to be \"fine\" at those specific places.\r\n\r\nIf I separate those offending blocks and run them alone against penthouse, the generated css is fine. The issue only appears when penthouse is dealing with large files."}}