Enonic XP8 macros bug when field has quotes at the beginning and/or at the end

Enonic version: 8.0.4

OS: Debian

Enonic is not dropping the backslashes it uses to escape the quotes inside a macro input.