Skip to content

Commit

Permalink
fix(comments): Newline markdown
Browse files Browse the repository at this point in the history
fix #195
  • Loading branch information
vogloblinsky committed Jun 18, 2017
1 parent 9186709 commit 74f64d2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 22 deletions.
8 changes: 1 addition & 7 deletions dist/index-cli.js

Large diffs are not rendered by default.

8 changes: 1 addition & 7 deletions dist/index.js

Large diffs are not rendered by default.

8 changes: 0 additions & 8 deletions src/app/engines/html.engine.helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,6 @@ export let HtmlEngineHelpers = (function() {
return replacer(description, matchedTag);
}

description = description.replace(/\n/g, '<br/>');

do {
matches = tagRegExp.exec(description);
if (matches) {
Expand All @@ -242,12 +240,6 @@ export let HtmlEngineHelpers = (function() {
break;
}

/*
if (typeof context === 'string' && context == 'additional-page') {
console.log('relativeURL: ', currentDepth, result);
}
*/

return result;
});

Expand Down

0 comments on commit 74f64d2

Please sign in to comment.