Forum Discussion
White space after dynamic liquid content in Subject Line only
Hi there friends,
I am experiencing a weird bug where a random space is appearing after dynamic content in subject lines only, I have even tried stripping the string, but doesn't fix this. Has anyone found a solve?
- AllanHeoStrategist
justin Is it possible that the space is actually included in the data itself?
Otherwise, I would recommend {%- -%}, as the hyphens remove blankspace.
But like David said, getting the full code would be very helpful. Happy to get on a call to help troubleshoot! https://calendly.com/d/y5b-xr2-ctx/30-minute-meeting
Thanks,
Allan
- arellaPractitioner
I have encountered this issue. Hard to diagnose your exact issue without seeing the code, but on my end I discovered the issue was coming from a stray space between pieces of the liquid code in an if/else statement. Even when the piece of the code was part of a logic sequence rather than a return string sequence.
Related Content
- 2 years ago
- 9 months ago
- 2 years ago
- 10 days ago