mixu / markdown-styles

Markdown to static HTML generator and multiple CSS themes for Markdown
1.85k stars 250 forks source link

Generated HTML has self-closing tags #62

Open ghost opened 7 years ago

ghost commented 7 years ago

Just noticed my <head> contained

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link type="text/css" rel="stylesheet" href="assets/style.css" />
<link type="text/css" rel="stylesheet" href="assets/pilcrow.css" />
<link type="text/css" rel="stylesheet" href="assets/hljs-github.min.css"/>

Erm... pretty sure self-closing tags are poor html practice.

Can we disable the generation of self-closing tags?