tagHandler - mark section for strong, em

This commit is contained in:
2019-12-21 13:50:03 +05:30
parent 1574e7e1a8
commit 2103507d8a
+2
View File
@@ -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;