import flow from 'lodash/flow'; // we don't store loop protect disable key export function removeNoprotect(val) { return val.replace(/noprotect/gi, ''); } export function encodeScriptTags(val) { return val .replace(/'); } export function encodeFormAction(val) { return val.replace( // look for attributes in a form /