{"action":"opened","issue":{"url":"https://api.github.com/repos/Knio/dominate/issues/98","repository_url":"https://api.github.com/repos/Knio/dominate","labels_url":"https://api.github.com/repos/Knio/dominate/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/Knio/dominate/issues/98/comments","events_url":"https://api.github.com/repos/Knio/dominate/issues/98/events","html_url":"https://github.com/Knio/dominate/issues/98","id":300670454,"number":98,"title":"Create attributes without quotation marks","user":{"login":"skjerns","id":14980558,"avatar_url":"https://avatars2.githubusercontent.com/u/14980558?v=4","gravatar_id":"","url":"https://api.github.com/users/skjerns","html_url":"https://github.com/skjerns","followers_url":"https://api.github.com/users/skjerns/followers","following_url":"https://api.github.com/users/skjerns/following{/other_user}","gists_url":"https://api.github.com/users/skjerns/gists{/gist_id}","starred_url":"https://api.github.com/users/skjerns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skjerns/subscriptions","organizations_url":"https://api.github.com/users/skjerns/orgs","repos_url":"https://api.github.com/users/skjerns/repos","events_url":"https://api.github.com/users/skjerns/events{/privacy}","received_events_url":"https://api.github.com/users/skjerns/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-27T15:15:44Z","updated_at":"2018-02-27T15:15:44Z","closed_at":null,"author_association":"NONE","body":"I want to create the following code:\r\n\r\n```\r\n<code style=display:block;white-space:pre-wrap>\r\nsome python code.\r\n</code>\r\n```\r\nfor this I\"m using:\r\n```\r\ndoc = document()\r\nwith doc:\r\n    with tags.code('import numpy\\nimport sys') as cc:\r\n        cc['style']='display:block'\r\n        cc['white_space']='pre_wrap'\r\n```\r\nit will create it as \r\n```\r\n<code style=display:\"block\" white-space:\"pre-wrap\">\r\nsome python code.\r\n</code>\r\n```\r\nAnd then the attributes are being ignored by my browser.\r\n\r\nPS: I'm a HTML noob, so there is surely a better way to do that."}}
{"actor":{"display_login":"skjerns"}}