Recently, GitHub introduced the change in how atx headers are parsed in Markdown files.
##Wrong
While this change follows the spec, it breaks many existing repositories. I took the README dataset which we created at source{d} and ran a simple
| <!-- | |
| =============================================================================================== | |
| Borland.Common.Targets | |
| WARNING | |
| DO NOT MODIFY unless you have made a backup of these files. Modifying | |
| this file unless you have knowledge about MSBuild you could cause problems | |
| when loading or building projects in the IDE or building from the |
Recently, GitHub introduced the change in how atx headers are parsed in Markdown files.
##Wrong
While this change follows the spec, it breaks many existing repositories. I took the README dataset which we created at source{d} and ran a simple
| <ConfigRoot> | |
| <service> | |
| <id>rsync</id> | |
| <rule id="0000"> | |
| <direction>outbound</direction> | |
| <protocol>tcp</protocol> | |
| <porttype>dst</porttype> | |
| <port>873</port> | |
| </rule> | |
| <rule id="0001"> |
| require "open-uri" | |
| require "rubygems" | |
| require "json" | |
| USERNAME = "henrik" | |
| query = ARGV.first.downcase | |
| gists = JSON.parse(open("http://gist.github.com/api/v1/json/gists/#{USERNAME}").read)['gists'] |