asap-viewer 12.2.5 → 12.2.6

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.
@@ -11420,12 +11420,13 @@ var EditorPageComponent = /** @class */ (function () {
11420
11420
  * @return {?}
11421
11421
  */
11422
11422
  function (html) {
11423
- return html.split('body,')
11424
- .join('body.never,')
11425
- .split('body {')
11426
- .join('body.never {')
11427
- .split('html{')
11428
- .join('html.never{');
11423
+ /** @type {?} */
11424
+ var startPosition = html.indexOf("<style");
11425
+ /** @type {?} */
11426
+ var endPosition = html.indexOf("</style") + 8;
11427
+ /** @type {?} */
11428
+ var styleHTML = html.substring(startPosition, endPosition);
11429
+ return html.split(styleHTML).join('');
11429
11430
  };
11430
11431
  /**
11431
11432
  * @param {?} id