{"action":"closed","issue":{"url":"https://api.github.com/repos/davidgohel/officer/issues/136","repository_url":"https://api.github.com/repos/davidgohel/officer","labels_url":"https://api.github.com/repos/davidgohel/officer/issues/136/labels{/name}","comments_url":"https://api.github.com/repos/davidgohel/officer/issues/136/comments","events_url":"https://api.github.com/repos/davidgohel/officer/issues/136/events","html_url":"https://github.com/davidgohel/officer/issues/136","id":327673229,"number":136,"title":"Docx file : how to add a line break in a paragraph ?","user":{"login":"FrancoisRidremont","id":39736787,"avatar_url":"https://avatars1.githubusercontent.com/u/39736787?v=4","gravatar_id":"","url":"https://api.github.com/users/FrancoisRidremont","html_url":"https://github.com/FrancoisRidremont","followers_url":"https://api.github.com/users/FrancoisRidremont/followers","following_url":"https://api.github.com/users/FrancoisRidremont/following{/other_user}","gists_url":"https://api.github.com/users/FrancoisRidremont/gists{/gist_id}","starred_url":"https://api.github.com/users/FrancoisRidremont/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FrancoisRidremont/subscriptions","organizations_url":"https://api.github.com/users/FrancoisRidremont/orgs","repos_url":"https://api.github.com/users/FrancoisRidremont/repos","events_url":"https://api.github.com/users/FrancoisRidremont/events{/privacy}","received_events_url":"https://api.github.com/users/FrancoisRidremont/received_events","type":"User","site_admin":false},"labels":[{"id":399639410,"url":"https://api.github.com/repos/davidgohel/officer/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-30T10:39:24Z","updated_at":"2018-05-30T16:52:58Z","closed_at":"2018-05-30T16:52:57Z","author_association":"NONE","body":"Hi,\r\n\r\nMy different attempts in adding a line break in a paragraph led to deadlock.\r\nMay you help me to script it correctly ?\r\n\r\nHere is my script from the \"_body_add_part()_\" function and the different: \r\n\r\ndoc <- read_docx() %>%\r\n  body_add_par(\"Hello world! **\\n** New line in the file\", style = \"Normal\") %>%\r\nprint(doc, target = \"body_add_par.docx\" )\r\n\r\nI try too : \r\n- body_add_par(\"Hello world! **\\r** New line in the file\", style = \"Normal\")\r\n- body_add_par(\"Hello world! **\\r \\n** New line in the file\", style = \"Normal\")\r\n\r\nThanks a lot.\r\n\r\nRegards,\r\n\r\nFrançois"}}
{"actor":{"display_login":"davidgohel"}}