{"action":"opened","issue":{"url":"https://api.github.com/repos/hey-red/Markdown/issues/79","repository_url":"https://api.github.com/repos/hey-red/Markdown","labels_url":"https://api.github.com/repos/hey-red/Markdown/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/hey-red/Markdown/issues/79/comments","events_url":"https://api.github.com/repos/hey-red/Markdown/issues/79/events","html_url":"https://github.com/hey-red/Markdown/issues/79","id":170956855,"number":79,"title":"Mismatch between defaults for different constructors","user":{"login":"matt-richardson","id":373389,"avatar_url":"https://avatars.githubusercontent.com/u/373389?v=3","gravatar_id":"","url":"https://api.github.com/users/matt-richardson","html_url":"https://github.com/matt-richardson","followers_url":"https://api.github.com/users/matt-richardson/followers","following_url":"https://api.github.com/users/matt-richardson/following{/other_user}","gists_url":"https://api.github.com/users/matt-richardson/gists{/gist_id}","starred_url":"https://api.github.com/users/matt-richardson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matt-richardson/subscriptions","organizations_url":"https://api.github.com/users/matt-richardson/orgs","repos_url":"https://api.github.com/users/matt-richardson/repos","events_url":"https://api.github.com/users/matt-richardson/events{/privacy}","received_events_url":"https://api.github.com/users/matt-richardson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-12T20:52:12Z","updated_at":"2016-08-12T20:52:12Z","closed_at":null,"body":"(from https://github.com/hey-red/Markdown/commit/61e1fa62f4c58d75b727412fb4731780ccbacc6e#commitcomment-18617917)\r\n\r\n`AllowEmptyLinkText` gets a value of `true` if you use the `Markdown()` ctor, but a value of `false` if you use the `Markdown(new MarkdownOptions)` ctor.\r\n\r\nThis leads to a bit of pain:\r\n```\r\nvar instance1 = new Markdown { AllowEmptyLinkText = true };\r\nAssert.That(instance1.AllowEmptyLinkText, Is.True); //passes\r\nAssert.That(instance1. LinkEmails, Is.True); //passes\r\n\r\nvar instance2 = new Markdown(new MarkdownOptions { AllowEmptyLinkText = true});\r\nAssert.That(instance1.AllowEmptyLinkText, Is.True); //passes\r\nAssert.That(instance1. LinkEmails, Is.True); //fails\r\n```"}}
{"actor":{"display_login":"matt-richardson"}}