Skip to content

Commit dc44a4e

Browse files
committed
added span to be nestable as well
1 parent 825a375 commit dc44a4e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/src/helperFunctions/generateCode.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@ const generateUnformattedCode = (
278278
const nestable =
279279
childElement.tag === 'h1' ||
280280
childElement.tag === 'h2' ||
281+
childElement.tag === 'span' ||
281282
childElement.tag === 'button' ||
282283
childElement.tag === 'p' ||
283284
childElement.tag === 'div' ||

0 commit comments

Comments
 (0)