{"action":"created","issue":{"url":"https://api.github.com/repos/vendidero/woocommerce-germanized/issues/14","labels_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/issues/14/comments","events_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/issues/14/events","html_url":"https://github.com/vendidero/woocommerce-germanized/issues/14","id":60235150,"number":14,"title":"Ugly line break on order-received and view-order with germanized","user":{"login":"jnachtigall","id":3307404,"avatar_url":"https://avatars.githubusercontent.com/u/3307404?v=3","gravatar_id":"","url":"https://api.github.com/users/jnachtigall","html_url":"https://github.com/jnachtigall","followers_url":"https://api.github.com/users/jnachtigall/followers","following_url":"https://api.github.com/users/jnachtigall/following{/other_user}","gists_url":"https://api.github.com/users/jnachtigall/gists{/gist_id}","starred_url":"https://api.github.com/users/jnachtigall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnachtigall/subscriptions","organizations_url":"https://api.github.com/users/jnachtigall/orgs","repos_url":"https://api.github.com/users/jnachtigall/repos","events_url":"https://api.github.com/users/jnachtigall/events{/privacy}","received_events_url":"https://api.github.com/users/jnachtigall/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-08T01:17:32Z","updated_at":"2015-03-08T09:00:39Z","closed_at":"2015-03-08T09:00:39Z","body":"On all other pages it looks ok but not on  `order-received` (and I think also not on `view-orders`)\r\n\r\nThis is what it correctly looks without woocommerce-germanized:\r\n![1xcorrect](https://cloud.githubusercontent.com/assets/3307404/6543959/5f02a02a-c537-11e4-9478-f35363f1b7f6.png)\r\n\r\nWith woocommerce-germanized there is an ugly line break:\r\n![1xincorrect](https://cloud.githubusercontent.com/assets/3307404/6543961/6411940e-c537-11e4-9833-7dc2d6933f90.png)\r\n\r\nFor the correct on the html is like:\r\n```\r\n<td class=\"product-name\">\r\n\t\t\t\t\t\t\t<a href=\"http://XXX/\">Espresso „Nightingale“</a> <strong class=\"product-quantity\">× 1</strong><dl class=\"variation\">\r\n\t\t\t\t\t\t\t<dt class=\"variation-Fllmenge\">Fuellmenge:</dt>\r\n\t\t\t\t\t\t\t<dd class=\"variation-Fllmenge\"><p>250g</p>\r\n</dd>\r\n\t\t\t\t\t\t</dl>\t\t\t\t\t\t</td>\r\n```\r\n\r\nwhereas for the one with the ugly line break it is:\r\n\r\n```\r\n<td class=\"product-name\">\r\n\t\t\t\t\t\t\t<a href=\"http://XXX/\">Espresso „Nightingale“</a><div class=\"wc-gzd-item-desc item-desc\"></div> <strong class=\"product-quantity\">× 1</strong><dl class=\"variation\">\r\n\t\t\t\t\t\t\t<dt class=\"variation-Fllmenge\">Fuellmenge:</dt>\r\n\t\t\t\t\t\t\t<dd class=\"variation-Fllmenge\"><p>250g</p>\r\n</dd>\r\n\t\t\t\t\t\t</dl>\t\t\t\t\t\t</td>\r\n```\r\nPlease notice the empty `<div class=\"wc-gzd-item-desc item-desc\"></div>` \r\n\r\nThe solution might be simply to only print this out if it is non-empty. \r\n(Or have it somewhat different like on the checkout page, where the product-quantity is within its own `<td>` column and hence right aligned.)"},"comment":{"url":"https://api.github.com/repos/vendidero/woocommerce-germanized/issues/comments/77739983","html_url":"https://github.com/vendidero/woocommerce-germanized/issues/14#issuecomment-77739983","issue_url":"https://api.github.com/repos/vendidero/woocommerce-germanized/issues/14","id":77739983,"user":{"login":"vendidero","id":8328938,"avatar_url":"https://avatars.githubusercontent.com/u/8328938?v=3","gravatar_id":"","url":"https://api.github.com/users/vendidero","html_url":"https://github.com/vendidero","followers_url":"https://api.github.com/users/vendidero/followers","following_url":"https://api.github.com/users/vendidero/following{/other_user}","gists_url":"https://api.github.com/users/vendidero/gists{/gist_id}","starred_url":"https://api.github.com/users/vendidero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vendidero/subscriptions","organizations_url":"https://api.github.com/users/vendidero/orgs","repos_url":"https://api.github.com/users/vendidero/repos","events_url":"https://api.github.com/users/vendidero/events{/privacy}","received_events_url":"https://api.github.com/users/vendidero/received_events","type":"User","site_admin":false},"created_at":"2015-03-08T09:00:39Z","updated_at":"2015-03-08T09:00:39Z","body":"Hi,\r\n\r\nhiding the div if no description is available won't fix the problem. Adding another td is not possible without overriding the whole oder-details template. Currently there is no other elegant way than adding a filter to the product cart name (for item desc and delivery time) which leads to that order details new line problem. You may fix that with a little CSS within your theme.. We will at least delete the empty div if no description is available."}}