I found the differences between the two results by using diff as shown below.

For this lab report, I will be focusing on these two tests:


For the first test, I believe that the class implementation of markdown-parse is correct because since the file contains only one line : [a](url "tit") and the preview did not show it as a link. For example,

the expected output came from markdown-parse (bottom) instead of the my group’s markdown-parse (top):

I believe a fix for my group’s code could be to account for "
For the second test, I believe it accounted for tests 494 to 498. From tests 494 to 498, I believe the outputs for both the class and group code are wrong. In the preview, all files except 496 show as valid links.

So instead of these outputs:

It should be
< [\(foo\]
< [foo(and(bar]
< []
< [foo\(and\(bar\]
< [<foo(and(bar]
I believe a possible fix would be to use an if statement to account for the necessary a tag since all the other files have an a tag except file 496.