@hipay/hipay-material-ui 2.0.0-beta.38 → 2.0.0-beta.40

Sign up to get free protection for your applications and to get access to all the features.
package/utils/helpers.js CHANGED
@@ -58,7 +58,7 @@ function contains(obj, pred) {
58
58
 
59
59
 
60
60
  function escapeHTML(unsafeStr) {
61
- return unsafeStr.replace(/<br\/?>/g, '[br]').replace(/<strong>/g, '[[').replace(/<\/?strong>/g, ']]').replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/"/g, '&quot;').replace(/'/g, '&#39;').replace(/\[\[/g, '<strong>').replace(/\]\]/g, '</strong>').replace(/\[br\]/g, '<br/>');
61
+ return unsafeStr.replace(/<br\/?>/g, '[br]').replace(/<strong>/g, '[[').replace(/<\/?strong>/g, ']]').replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/"/g, '&quot;').replace(/'/g, '&#39;').replace(/\[\[/g, '<strong>').replace(/\]\]/g, '</strong>').replace(/\[br\]/g, '<br>');
62
62
  }
63
63
 
64
64
  function findIndex(arr, pred) {