Skip to content

Commit

Permalink
marked dependency updated to marked 0.2.10, and a minor ';' fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bylexus committed Mar 24, 2014
1 parent 2a88382 commit 420c3db
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
5 changes: 3 additions & 2 deletions README.md
Expand Up @@ -42,7 +42,7 @@ Type: `String`
Default value: `null`

A path to a layout file: A Layout file defines the global surrounding layout,
e.g. an HTML header / footer. Within the Layout file you can then include the
e.g. an HTML header / footer. Within the Layout file you can then include the
actual processed .md-file content.

Example layout file:
Expand Down Expand Up @@ -180,9 +180,10 @@ grunt.initConfig({
* 0.1.1: Changed Markdown parser: node-markdown replaced by marked
* 0.1.0: Very first release, no testing yet
* 0.1.5: Fixed: '$&' in html causes the tool to crash
* 0.1.6: Updated 'marked' dependency: now uses marked 0.2.10 as dependant version

## License

(c) 2013 Alexander Schenkel
(c) 2013-2014 Alexander Schenkel
Licensed under the MIT License

5 changes: 2 additions & 3 deletions package.json
Expand Up @@ -29,14 +29,13 @@
"test": "grunt test"
},
"dependencies": {
"marked": "~0.2.8"
"marked": "^0.2.10"
},
"devDependencies": {
"grunt-contrib-jshint": "~0.1.1",
"grunt-contrib-clean": "~0.4.0",
"grunt-contrib-nodeunit": "~0.1.2",
"grunt": "~0.4.0",
"marked": "~0.2.8"
"grunt": "~0.4.0"
},
"peerDependencies": {
"grunt": "~0.4.0"
Expand Down
4 changes: 2 additions & 2 deletions tasks/md2html.js
Expand Up @@ -65,7 +65,7 @@ module.exports = function(grunt) {
if (relPath.length === 0) {
relPath = '.';
}
html = layout.replace(/\{DOC\}/g, function() { return html });
html = layout.replace(/\{DOC\}/g, function() { return html; });
html = html.replace(/\{BASEPATH\}/g, relPath);
html = html.replace(/\{DEST\}/g, f.dest);

Expand All @@ -77,4 +77,4 @@ module.exports = function(grunt) {
});
});

};
};

0 comments on commit 420c3db

Please sign in to comment.