@capillarytech/creatives-library 7.17.206 → 7.17.207

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capillarytech/creatives-library",
3
3
  "author": "meharaj",
4
- "version": "7.17.206",
4
+ "version": "7.17.207",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
@@ -415,5 +415,10 @@ describe('preprocessHtml', () => {
415
415
  const expectedOutput = "This is &amplt; not an entity.";
416
416
  expect(preprocessHtml(input)).toEqual(expectedOutput);
417
417
  });
418
+ it('Should handle style tags with %}', () => {
419
+ const input = "<style {line-height:0;font-size:75%} >sup{line-height:0;font-size:75%}</style> ";
420
+ const expectedOutput = "<style {line-height:0;font-size:75%} >sup{line-height:0;font-size:75% }</style> ";
421
+ expect(preprocessHtml(input)).toEqual(expectedOutput);
422
+ });
418
423
 
419
424
  });