Skip to content

Commit

Permalink
Merge branch 'add-internal-as-hidden-synonym'
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit0 committed Nov 14, 2019
2 parents 7d0ce87 + 149f3bd commit e41fb74
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/lib/converter/plugins/CommentPlugin.ts
Expand Up @@ -110,7 +110,10 @@ export class CommentPlugin extends ConverterComponent {
CommentPlugin.removeTags(comment, 'event');
}

if (comment.hasTag('hidden') || comment.hasTag('ignore')) {
if (comment.hasTag('hidden')
|| comment.hasTag('ignore')
|| (comment.hasTag('internal') && this.application.options.getCompilerOptions().stripInternal)
) {
if (!this.hidden) {
this.hidden = [];
}
Expand Down

0 comments on commit e41fb74

Please sign in to comment.