Merge pull request #16879 from civicrm/5.24
[civicrm-core.git] / Civi / Angular / ChangeSet.php
index f0eb38148cbfad59d628659ff8451b0732663d93..27c92a5867b16395213863d24e732d7a197cd4d3 100644 (file)
@@ -55,9 +55,6 @@ class ChangeSet implements ChangeSetInterface {
           if (preg_match($filter['regex'], $path)) {
             if ($doc === NULL) {
               $doc = \phpQuery::newDocument($html, 'text/html');
-              if (\CRM_Core_Config::singleton()->debug && !$coder->checkConsistentHtml($html)) {
-                throw new \CRM_Core_Exception("Cannot process $path: inconsistent markup. Use check-angular.php to investigate.");
-              }
             }
             call_user_func($filter['callback'], $doc, $path);
           }