If you export some object, which contain multiline strings, $init parameter in features_var_export() triggers adding $prefix in first sub-call of features_var_export(), causing early break of multiline strings and adding prefix in each of their lines.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

neochief’s picture

mpotter’s picture

Version: 7.x-1.x-dev » 6.x-1.x-dev
Status: Needs review » Patch (to be ported)

Another good catch that seems to be a no-brainer. Thanks!

Committed 73516b1

  • mpotter committed 73516b1 on 8.x-3.x
    Issue #1505044 by neochief: Fixed features_var_export() adds additional...
kenorb’s picture

Issue summary: View changes
Status: Patch (to be ported) » Fixed
kenorb’s picture

kenorb’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.