Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] HTML close tag #8

Merged
merged 1 commit into from
Oct 19, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/github-markdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ GithubMarkdown.prototype.render = function(fileName, opts, onDone) {
this.cat('\n');

if (stylesheet || title) {
this.cat( '</body>\n<\html>\n' );
this.cat( '</body>\n</html>\n' );
}

if (this.debug) console.error('>>>finished getting code');
Expand Down
2 changes: 1 addition & 1 deletion lib/markdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ Markdown.prototype.render = function(fileName, opts, onDone) {
}

if (stylesheet || title) {
this.cat( '</body>\n<\html>\n' );
this.cat( '</body>\n</html>\n' );
}
if (this.debug) console.error('>>>finished getting code');
this.done = true;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "markdown-to-html",
"version": "0.0.11",
"version": "0.0.12",
"description": "Converts markdown text to HTML. A readable stream plus utilities and web demo.",
"main": "markdown.js",
"bin": {
Expand Down