{"action":"opened","issue":{"url":"https://api.github.com/repos/orbiting/publikator-frontend/issues/193","repository_url":"https://api.github.com/repos/orbiting/publikator-frontend","labels_url":"https://api.github.com/repos/orbiting/publikator-frontend/issues/193/labels{/name}","comments_url":"https://api.github.com/repos/orbiting/publikator-frontend/issues/193/comments","events_url":"https://api.github.com/repos/orbiting/publikator-frontend/issues/193/events","html_url":"https://github.com/orbiting/publikator-frontend/issues/193","id":416890216,"node_id":"MDU6SXNzdWU0MTY4OTAyMTY=","number":193,"title":"Prevent Wrapping Some Hyphenated Words","user":{"login":"tpreusse","id":410211,"node_id":"MDQ6VXNlcjQxMDIxMQ==","avatar_url":"https://avatars2.githubusercontent.com/u/410211?v=4","gravatar_id":"","url":"https://api.github.com/users/tpreusse","html_url":"https://github.com/tpreusse","followers_url":"https://api.github.com/users/tpreusse/followers","following_url":"https://api.github.com/users/tpreusse/following{/other_user}","gists_url":"https://api.github.com/users/tpreusse/gists{/gist_id}","starred_url":"https://api.github.com/users/tpreusse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpreusse/subscriptions","organizations_url":"https://api.github.com/users/tpreusse/orgs","repos_url":"https://api.github.com/users/tpreusse/repos","events_url":"https://api.github.com/users/tpreusse/events{/privacy}","received_events_url":"https://api.github.com/users/tpreusse/received_events","type":"User","site_admin":false},"labels":[{"id":653706900,"node_id":"MDU6TGFiZWw2NTM3MDY5MDA=","url":"https://api.github.com/repos/orbiting/publikator-frontend/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-03-04T16:41:27Z","updated_at":"2019-03-04T16:41:27Z","closed_at":null,"author_association":"MEMBER","body":"## Bug Report\r\n\r\n`CO2-Ausstoss` and `CO2-Steuern` should not wrap.\r\n\r\n**Steps to Reproduce**\r\n\r\n- see https://publikator.republik.love/repo/republik-dev/article-nonbreaking-hyphen/tree\r\n\r\nMarkdown Source:\r\n\r\n```md\r\nCO<sub>2</sub>-Ausstoss CO<sub>2</sub>-Ausstoss CO<sub>2</sub>-Ausstoss CO<sub>2</sub>-Ausstoss CO<sub>2</sub>-Ausstoss CO<sub>2</sub>-Ausstoss CO<sub>2</sub>-Ausstoss CO<sub>2</sub>-Ausstoss CO<sub>2</sub>-Ausstoss CO<sub>2</sub>-Ausstoss CO<sub>2</sub>-Ausstoss CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern\r\n```\r\n\r\n**Actual Results**\r\n\r\n<img width=\"713\" alt=\"screenshot 2019-03-04 at 17 28 37\" src=\"https://user-images.githubusercontent.com/410211/53747222-171eda00-3ea3-11e9-8fbf-2524c2340c1d.png\">\r\n\r\n**Expected Results**\r\n\r\n<img width=\"698\" alt=\"screenshot 2019-03-04 at 17 36 24\" src=\"https://user-images.githubusercontent.com/410211/53747672-0fac0080-3ea4-11e9-8553-c73352bf088d.png\">\r\n\r\n**No Easy Solutions**\r\n\r\nNon-Breaking-Hyphen (U+2011) does not help:\r\n\r\n<img width=\"706\" alt=\"screenshot 2019-03-04 at 17 37 43\" src=\"https://user-images.githubusercontent.com/410211/53747769-4aae3400-3ea4-11e9-9a0e-be8207fe8427.png\">\r\n\r\nBecause of the `<sub>` element around two it still wraps.\r\n\r\nAlso currently U+2011 is not supported in our PDFs:\r\n<img width=\"467\" alt=\"screenshot 2019-03-04 at 17 38 29\" src=\"https://user-images.githubusercontent.com/410211/53747853-792c0f00-3ea4-11e9-8c98-0afe2fd23dc6.png\">\r\n\r\n**Possible Solutions**\r\n\r\n- `nowrap` spans (similar to a what we'd need for thin space numbers)\r\n"}}
{"actor":{"display_login":"tpreusse"}}