Sfoglia il codice sorgente

Added a missing test.

Piotrek Koszuliński 9 anni fa
parent
commit
c3dab122cb

+ 9 - 0
packages/ckeditor5-markdown-gfm/tests/gfmdataprocessor/headers.js

@@ -108,5 +108,14 @@ describe( 'GFMDataProcessor', () => {
 				'<h1>header</h1><h2>header</h2><h3>header</h3>'
 			);
 		} );
+
+		it( 'should process headers followed by a paragraph', () => {
+			test(
+				'# header\n\n' +
+				'paragraph',
+
+				'<h1>header</h1><p>paragraph</p>'
+			);
+		} );
 	} );
 } );