Note that there are some explanatory texts on larger screens.

plurals
  1. POHakyll generates weird HTML - can anybody explain reason?
    text
    copied!<p>I use Hakyll to generate some documentation and I noticed that it has a weird way of closing the HTML tags in the code it generates.</p> <p>There was a page where they said that you must generate the markup as they do, or the layout of your page will be broken under some conditions, but I can't find it now.</p> <p>I created a small test page (code below) which has one red layer with the "normal" HTML markup, and a yellow layer with markup similar to what hakyll generates.</p> <p>I can't see any diference in Firefox between the two divs.</p> <p>Can anybody explain if what they say is true?</p> <pre><code>&lt;html&gt; &lt;body&gt; &lt;!-- NORMAL STYLE --&gt; &lt;div style="background: red"&gt; &lt;p&gt;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)&lt;/p&gt; &lt;p&gt;Create an instance of the client and, in your code, make calls to it through this instance's methods.&lt;/p&gt; &lt;/div&gt; &lt;!-- HAKYLL STYLE --&gt; &lt;div style="background: yellow" &gt;&lt;p &gt;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)&lt;/p &gt;&lt;p &gt;Create an instance of the client and, in your code, make calls to it through this instance's methods.&lt;/p &gt;&lt;/div &gt; &lt;/body&gt; &lt;html&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload