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 16eaa69 commit 6bd5975Copy full SHA for 6bd5975
1 file changed
test/test.js
@@ -229,4 +229,9 @@ describe('PostHTML-Parser test', () => {
229
{tag: 'script', content: [' var str = \'hey <form\'; if (!str.match(new RegExp(\'<(form|iframe)\', \'g\'))) { /* ... */ }']}
230
]);
231
});
232
+
233
+ it('should be not converting html entity name', () => {
234
+ const html = '‌ ©';
235
+ expect(parser(html)).to.eql(['‌ ©']);
236
+ });
237
0 commit comments