{"action":"closed","issue":{"url":"https://api.github.com/repos/mtibben/html2text/issues/60","repository_url":"https://api.github.com/repos/mtibben/html2text","labels_url":"https://api.github.com/repos/mtibben/html2text/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/mtibben/html2text/issues/60/comments","events_url":"https://api.github.com/repos/mtibben/html2text/issues/60/events","html_url":"https://github.com/mtibben/html2text/issues/60","id":141167023,"number":60,"title":"Inconsistent output with <br> tag within <pre> tag","user":{"login":"cameron1729","id":354767,"avatar_url":"https://avatars.githubusercontent.com/u/354767?v=3","gravatar_id":"","url":"https://api.github.com/users/cameron1729","html_url":"https://github.com/cameron1729","followers_url":"https://api.github.com/users/cameron1729/followers","following_url":"https://api.github.com/users/cameron1729/following{/other_user}","gists_url":"https://api.github.com/users/cameron1729/gists{/gist_id}","starred_url":"https://api.github.com/users/cameron1729/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cameron1729/subscriptions","organizations_url":"https://api.github.com/users/cameron1729/orgs","repos_url":"https://api.github.com/users/cameron1729/repos","events_url":"https://api.github.com/users/cameron1729/events{/privacy}","received_events_url":"https://api.github.com/users/cameron1729/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-16T04:04:19Z","updated_at":"2016-03-16T23:24:44Z","closed_at":"2016-03-16T23:24:44Z","body":"Consider this HTML:\r\n\r\n```html\r\n<pre>\r\n    <span>\r\nvoid FillMeUp(char* in_string) {<br />  int i = 0;<br />  while (in_string[i] != \\'\\0\\') {<br />    in_string[i] = \\'X\\';<br />    i++;<br />  }<br />}\r\n    </span>\r\n</pre>\r\n```\r\n\r\nIn version 3 it was rendered like this:\r\n\r\n```\r\nvoid FillMeUp(char* in_string) {\r\n  int i = 0;\r\n  while (in_string[i] != \\'\\') {\r\n    in_string[i] = \\'X\\';\r\n    i++;\r\n  }\r\n}\r\n```\r\n\r\nBut now in version 4 we get this:\r\n\r\n```\r\nvoid FillMeUp(char* in_string) {\r\nint i = 0;\r\nwhile (in_string[i] != \\'\\') {\r\nin_string[i] = \\'X\\';\r\ni++;\r\n}\r\n}\r\n```\r\n\r\nAs best I can tell this has something to do with the changes to the `callbackSearch` array - specifically the <br> addition. "}}