{"action":"closed","issue":{"url":"https://api.github.com/repos/karnov/htmltoword/issues/41","labels_url":"https://api.github.com/repos/karnov/htmltoword/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/karnov/htmltoword/issues/41/comments","events_url":"https://api.github.com/repos/karnov/htmltoword/issues/41/events","html_url":"https://github.com/karnov/htmltoword/issues/41","id":122699541,"number":41,"title":"Issue with `p` containing formatted text and a br","user":{"login":"senny","id":5402,"avatar_url":"https://avatars.githubusercontent.com/u/5402?v=3","gravatar_id":"","url":"https://api.github.com/users/senny","html_url":"https://github.com/senny","followers_url":"https://api.github.com/users/senny/followers","following_url":"https://api.github.com/users/senny/following{/other_user}","gists_url":"https://api.github.com/users/senny/gists{/gist_id}","starred_url":"https://api.github.com/users/senny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/senny/subscriptions","organizations_url":"https://api.github.com/users/senny/orgs","repos_url":"https://api.github.com/users/senny/repos","events_url":"https://api.github.com/users/senny/events{/privacy}","received_events_url":"https://api.github.com/users/senny/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-17T09:50:53Z","updated_at":"2016-01-08T08:48:22Z","closed_at":"2016-01-08T08:48:22Z","body":"There seems to be something wrong when using formatted text and a `br` inside the same `p` tag. A minimal reproduction looks like this:\r\n\r\n```html\r\n<p><strong>bold:</strong> text.<br />after br</p>\r\n```\r\n\r\nThe resulting word document looks like this:\r\n\r\n![screen shot 2015-12-17 at 10 46 12](https://cloud.githubusercontent.com/assets/5402/11866510/e6be2a76-a4ab-11e5-87df-856cf9db2d7f.png)\r\n\r\nand the WordprocessingML looks like this:\r\n\r\n```xml\r\n<w:p xmlns:w=\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\" xmlns:pkg=\"http://schemas.microsoft.com/office/2006/xmlPackage\" xmlns:str=\"http://exslt.org/strings\" xmlns:fn=\"http://www.w3.org/2005/xpath-functions\">\r\n  <w:r>\r\n    <w:rPr>\r\n      <w:b/>\r\n    </w:rPr>\r\n    <w:t xml:space=\"preserve\">bold:</w:t>\r\n  </w:r>\r\n  <w:r>\r\n    <w:t xml:space=\"preserve\"> text.</w:t>\r\n  </w:r>\r\n</w:p>\r\n```"}}