mirror of
https://github.com/bendtherules/react-to-markdown.git
synced 2026-08-18 13:53:11 +00:00
tagHandler - mark section for strong, em
This commit is contained in:
@@ -31,12 +31,14 @@ export default function handleTag(
|
||||
break;
|
||||
// END - Handle all headings
|
||||
|
||||
// START - Handle strong and em
|
||||
case 'strong':
|
||||
newParentASTNode = childASTNode = strong();
|
||||
break;
|
||||
case 'em':
|
||||
newParentASTNode = childASTNode = emphasis();
|
||||
break;
|
||||
// END - Handle strong and em
|
||||
|
||||
default:
|
||||
newParentASTNode = parentASTNode;
|
||||
|
||||
Reference in New Issue
Block a user