title: Closing <link> tag ignored by JSoup
body: <p>I have an HTML document that I receive as String and then I parse this using jSoup.
  This HTML document (in the string form) contains <code>&lt;link&gt;</code> tags as follows - </p>
  
  <pre><code>&lt;link rel="stylesheet" href="css/bootstrap.css" /&gt;
  </code></pre>
  
  <p>and this is how im parsing it -</p>
  
  <pre><code>Document doc = Jsoup.parse(html);
  </code></pre>
  
  <p>where <code>html</code> is an HTML document in the form of a string.</p>
  
  <p>After parsing when I print <code>doc</code>, everything remains the same apart from <code>&lt;link&gt;</code> tag which changes to -</p>
  
  <pre><code>  &lt;link rel="stylesheet" href="css/bootstrap.css"&gt; 
  </code></pre>
  
  <p>Please note that the closing slash is absent here.
  Also note that if the original string contains <code>&lt;link&gt;</code> tag in the following form -</p>
  
  <pre><code>&lt;link rel="stylesheet" href="css/bootstrap.css"&gt;&lt;/link&gt;
  </code></pre>
  
  <p>The result is still the same ,ie, <code>&lt;link rel="stylesheet" href="css/bootstrap.css"&gt;</code> 
  Why is Jsoup doing this and how do I prevent this from happening?</p>
  
  <p>Thanks!</p>