Bug report #20606
'\n' button in function editor generates invalid code
|Affected QGIS version:||3.4.1||Regression?:||No|
|Operating System:||Debian 9.6 / KDE||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||28426|
In the function editor for captions you have a button clearly labelled '\n' but when you press it, it outputs '\&n'. The difference is the former is acceptable and the latter is invalid as far as the function editor is concerned.