I am using Hakyll to create some documentation, and I noticed that it has a weird way of closing HTML tags in code generation.
There was a page where they said that you should generate markup like them, or the layout of your page will be broken under some conditions, but I can not find it now.
I created a small test page (code below), which has one red layer with "normal" HTML markup and a yellow layer with markup similar to what hakyll generates.
I do not see the differences in Firefox between the two divs.
Can someone explain if what they say is true?
<html> <body> <div style="background: red"> <p>Make available the code from the library you added to your application. Again, the way to do this varies between languages (from adding import statements in python to adding a jar to the classpath for java)</p> <p>Create an instance of the client and, in your code, make calls to it through this instance methods.</p> </div> <div style="background: yellow" ><p >Make available the code from the library you added to your application. Again, the way to do this varies between languages (from adding import statements in python to adding a jar to the classpath for java)</p ><p >Create an instance of the client and, in your code, make calls to it through this instance methods.</p ></div > </body> <html>
source share