Test: \lstinline[language=JavaScript]!import {function} from "@icm/service-name";! results in > Test: import {function}from "@icm/service-name"; Why does it remove the space between `}` and `from`? MWE: https://www.overleaf.com/read/nxxmvwdkvrzm Copy of https://tex.stackexchange.com/q/520807/178966