mirror of
https://github.com/bendtherules/react-to-markdown.git
synced 2026-08-18 13:53:11 +00:00
tagHandler - Handle blockquote, only with plain text
This commit is contained in:
@@ -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'
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user