We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cfa0c9 commit ccba0ffCopy full SHA for ccba0ff
typedoc-plugin-deno.ts
@@ -94,14 +94,14 @@ export class DenoPlugin extends ConverterComponent {
94
if (i18nTag === undefined) return;
95
96
const i18n = trim(i18nTag.text, '\n');
97
- const firstLF = i18n.indexOf('\n');
+ const firstLF = i18n.indexOf('\n\n');
98
99
if (firstLF === -1) {
100
comment.shortText_i18n = i18n;
101
comment.text_i18n = '';
102
} else {
103
comment.shortText_i18n = i18n.substr(0, firstLF);
104
- comment.text_i18n = i18n.substr(firstLF + 1);
+ comment.text_i18n = i18n.substr(firstLF + 2);
105
}
106
107
removeTags(comment, '_i18n');
0 commit comments