{"action":"created","issue":{"url":"https://api.github.com/repos/trade-informatics/caracal/issues/47","repository_url":"https://api.github.com/repos/trade-informatics/caracal","labels_url":"https://api.github.com/repos/trade-informatics/caracal/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/trade-informatics/caracal/issues/47/comments","events_url":"https://api.github.com/repos/trade-informatics/caracal/issues/47/events","html_url":"https://github.com/trade-informatics/caracal/issues/47","id":159629844,"number":47,"title":"Paragraph bold true doesn't seem to work while styles work","user":{"login":"fatuhoku","id":430233,"avatar_url":"https://avatars.githubusercontent.com/u/430233?v=3","gravatar_id":"","url":"https://api.github.com/users/fatuhoku","html_url":"https://github.com/fatuhoku","followers_url":"https://api.github.com/users/fatuhoku/followers","following_url":"https://api.github.com/users/fatuhoku/following{/other_user}","gists_url":"https://api.github.com/users/fatuhoku/gists{/gist_id}","starred_url":"https://api.github.com/users/fatuhoku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fatuhoku/subscriptions","organizations_url":"https://api.github.com/users/fatuhoku/orgs","repos_url":"https://api.github.com/users/fatuhoku/repos","events_url":"https://api.github.com/users/fatuhoku/events{/privacy}","received_events_url":"https://api.github.com/users/fatuhoku/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-10T12:59:48Z","updated_at":"2016-06-10T15:30:03Z","closed_at":null,"body":"I have a tabel cell that looks like this:\r\n\r\n```ruby\r\ndocx.style { id 'NormalBold'; name 'NormalBold'; font 'Arial'; bold true }\r\n```\r\n\r\n```ruby\r\ncell = Caracal::Core::Models::TableCellModel.new do\r\n  p('This is bold') { style 'NormalBold' }\r\n  p('This is not bold') { bold true }\r\nend\r\n```\r\n\r\ni.e the the style works, but setting bold on the paragraph does not."},"comment":{"url":"https://api.github.com/repos/trade-informatics/caracal/issues/comments/225214871","html_url":"https://github.com/trade-informatics/caracal/issues/47#issuecomment-225214871","issue_url":"https://api.github.com/repos/trade-informatics/caracal/issues/47","id":225214871,"user":{"login":"jdugan","id":34268,"avatar_url":"https://avatars.githubusercontent.com/u/34268?v=3","gravatar_id":"","url":"https://api.github.com/users/jdugan","html_url":"https://github.com/jdugan","followers_url":"https://api.github.com/users/jdugan/followers","following_url":"https://api.github.com/users/jdugan/following{/other_user}","gists_url":"https://api.github.com/users/jdugan/gists{/gist_id}","starred_url":"https://api.github.com/users/jdugan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdugan/subscriptions","organizations_url":"https://api.github.com/users/jdugan/orgs","repos_url":"https://api.github.com/users/jdugan/repos","events_url":"https://api.github.com/users/jdugan/events{/privacy}","received_events_url":"https://api.github.com/users/jdugan/received_events","type":"User","site_admin":false},"created_at":"2016-06-10T15:30:03Z","updated_at":"2016-06-10T15:30:03Z","body":"Yep, this is a bug.  \r\n\r\nThe `paragraph` model isn't handling block attributes correctly.  As a temporary workaround, you can simply convert to the alternate syntax and provide your configurations via options, like so:\r\n\r\n```ruby\r\n  p 'This is bold', bold: true\r\n```\r\n\r\nI'll post a correction later today."}}
{"actor":{"display_login":"jdugan"}}