Newline handling in template expression for index when mounting the index
Hi!
When I define a more complex template expression for indexing documents, I am writing the expression in multiple lines.
When looking at the index in the webinterface everything looks as expected. There is obviously some sort if trim() going on.
When I mount the index (independent of #518 (closed)) there are multiple "???" before and after the folder names. It seems that the newlines are not trimmed away in this case.
When I refactor the expression to be in one line (very ugly and unreadable) everything looks like expected.
Would be nice if the newlines would be trimmed away for mountindex, too (feature request?).
Greetings! Valen
PS: Same behavior for all 3.x I used.
Edited by TheOneValen