theory/text-markup

Text::Markup::Markdown returns invalid HTML: "<head>" is missing

xtaran opened this issue · 1 comments

From lib/Text/Markup/Markdown.pm:

    return qq{<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
$html
</body>
</html>
};

The </head> tag is closed but never opened.

I'll prepare a patch for that.

Actually there are way more formats that just Markdown affected. Updated pull request will come soon.