{"action":"opened","issue":{"url":"https://api.github.com/repos/evancz/elm-svg/issues/4","labels_url":"https://api.github.com/repos/evancz/elm-svg/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/evancz/elm-svg/issues/4/comments","events_url":"https://api.github.com/repos/evancz/elm-svg/issues/4/events","html_url":"https://github.com/evancz/elm-svg/issues/4","id":59890616,"number":4,"title":"Add equivalent to elm-html's text function","user":{"login":"TheSeamau5","id":3227869,"avatar_url":"https://avatars.githubusercontent.com/u/3227869?v=3","gravatar_id":"","url":"https://api.github.com/users/TheSeamau5","html_url":"https://github.com/TheSeamau5","followers_url":"https://api.github.com/users/TheSeamau5/followers","following_url":"https://api.github.com/users/TheSeamau5/following{/other_user}","gists_url":"https://api.github.com/users/TheSeamau5/gists{/gist_id}","starred_url":"https://api.github.com/users/TheSeamau5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheSeamau5/subscriptions","organizations_url":"https://api.github.com/users/TheSeamau5/orgs","repos_url":"https://api.github.com/users/TheSeamau5/repos","events_url":"https://api.github.com/users/TheSeamau5/events{/privacy}","received_events_url":"https://api.github.com/users/TheSeamau5/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-05T01:25:43Z","updated_at":"2015-03-05T01:25:43Z","closed_at":null,"body":"I haven't found a way to modify the \"innerhtml\" of an svg node. This is important for text cuz that's where the actual string goes.\r\n\r\nI recommend calling it innertext or something\r\n\r\n```elm\r\ninnertext : String -> Svg\r\n```\r\n\r\nor, we can modify the text function to take a string as an input \r\n\r\n```elm\r\ntext : String -> List Attribute -> List Svg -> Svg\r\n```"}}