tagHandler - Handle blockquote, only with plain text

This commit is contained in:
2019-12-22 00:10:46 +05:30
parent da7ffae93c
commit aed9ea3d87
2 changed files with 15 additions and 0 deletions
+7
View File
@@ -155,3 +155,10 @@ test('should render link with only title', () => {
test('should render link without title and text', () => {
expect((render(<a href="./test" />) as string).trim()).toBe('[](./test)');
});
test('should render blockquote with plain text', () => {
expect((render(<blockquote>some text</blockquote>) as string).trim()).toBe(
'> some text'
);
});