import _ from 'lodash/fp'; // we don't store loop protect disable key export const removeNoprotect = _.replace(/noprotect/gi, ''); export const encodeScriptTags = _.flow( _.replace(/') ); export const encodeFormAction = _.replace( // look for attributes in a form /