diff --git a/src/lang/locale/en.ts b/src/lang/locale/en.ts index 6c7ce077..c8629328 100644 --- a/src/lang/locale/en.ts +++ b/src/lang/locale/en.ts @@ -510,7 +510,7 @@ export default { // line-break-at-document-end.ts 'line-break-at-document-end': { 'name': 'Line Break at Document End', - 'description': 'Ensures that there is exactly one line break at the end of a document.', + 'description': 'Ensures that there is exactly one line break at the end of a document if the note is not empty.', }, // move-footnotes-to-the-bottom.ts 'move-footnotes-to-the-bottom': { diff --git a/src/rules/line-break-at-document-end.ts b/src/rules/line-break-at-document-end.ts index 4c983b09..4f45a168 100644 --- a/src/rules/line-break-at-document-end.ts +++ b/src/rules/line-break-at-document-end.ts @@ -17,6 +17,10 @@ export default class LineBreakAtDocumentEnd extends RuleBuilder[] {