We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a03261 commit 550755eCopy full SHA for 550755e
1 file changed
test/test.js
@@ -49,4 +49,10 @@ describe('PostHTML-Parser test', function() {
49
{ tag: 'div', content: [{ tag: 'span', content: ['Text1']}, { tag: 'span', content: ['Text2']}, 'Text3'] }
50
]);
51
});
52
+
53
+ it('should be parse camelCase tag name', function() {
54
+ expect(parser('<mySuperTag></mySuperTag>')).to.eql([
55
+ { tag: 'mySuperTag' }
56
+ ]);
57
+ });
58
0 commit comments