{"action":"closed","issue":{"url":"https://api.github.com/repos/russross/blackfriday/issues/405","repository_url":"https://api.github.com/repos/russross/blackfriday","labels_url":"https://api.github.com/repos/russross/blackfriday/issues/405/labels{/name}","comments_url":"https://api.github.com/repos/russross/blackfriday/issues/405/comments","events_url":"https://api.github.com/repos/russross/blackfriday/issues/405/events","html_url":"https://github.com/russross/blackfriday/issues/405","id":271033774,"number":405,"title":"Enforce the footnote number to render on the same line as preceding word","user":{"login":"kamar535","id":8029215,"avatar_url":"https://avatars3.githubusercontent.com/u/8029215?v=4","gravatar_id":"","url":"https://api.github.com/users/kamar535","html_url":"https://github.com/kamar535","followers_url":"https://api.github.com/users/kamar535/followers","following_url":"https://api.github.com/users/kamar535/following{/other_user}","gists_url":"https://api.github.com/users/kamar535/gists{/gist_id}","starred_url":"https://api.github.com/users/kamar535/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamar535/subscriptions","organizations_url":"https://api.github.com/users/kamar535/orgs","repos_url":"https://api.github.com/users/kamar535/repos","events_url":"https://api.github.com/users/kamar535/events{/privacy}","received_events_url":"https://api.github.com/users/kamar535/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-11-03T16:13:35Z","updated_at":"2017-11-07T19:29:53Z","closed_at":"2017-11-07T19:29:53Z","author_association":"NONE","body":"For the following markdown: \r\n\r\n    A sentence with a footnote.[^target]\r\n\r\n    [^target]: Target text\r\n\r\n, depending on the line width, the period may be rendered at the end of a line and the footnote number on the next line.\r\n\r\n![image](https://user-images.githubusercontent.com/8029215/32383605-bde44808-c0b8-11e7-8638-f27399db3bfe.png)\r\n\r\nWould be great if Blackfriday would enforce the footnote number to be rendered on the same line as the preceding word (including any trailing punctuation).\r\n\r\n![image](https://user-images.githubusercontent.com/8029215/32383792-45d0a25c-c0b9-11e7-9ca4-afac2fd3d32b.png)\r\n\r\nI came up with a [solution in Hugo](https://discourse.gohugo.io/t/is-it-possible-to-enforce-the-footnote-number-to-render-on-same-line-as-preceding-symbol/9085) where I used a regexp to wrapp the generated `footnote.<sup class=\"footnote-ref\"> ... </sup>` inside a `<span class=\"footnote\">footnote.<sup class=\"footnote-ref\"> ...</sup></span>` and the following css: \r\n\r\n    span.footnote {\r\n        white-space: nowrap;\r\n    }\r\n\r\nWould be great if this could be added as an option to Blackfriday. "}}
{"actor":{"display_login":"kamar535"}}