Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If nothing is returned, or if the value of null or undefined is returned, the original export value will remain unchanged.

...

Code Block
languagejs
pui["process export value"] = function(cellInfo) {
  // remove line breaksbreak tags from HTML container exported values
  if (cellInfo["item properties"]["field type"] === "html container") {
    return cellInfo.value.replace(/<br>/g, "");
  }
}

...