diff --git a/Dockerfile b/Dockerfile index 8f4e6658950612e24adca006a606239cf98e727e..4478d3f8322dc89af197bfbfda22f0176b5008bb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -64,6 +64,8 @@ RUN curl -sL ${GOOGLE_INTEGRATION_URL} | tar xzf - -C ${BASE_DIR}/custom_apps RUN rm -rf ${BASE_DIR}/themes/Murena/* && \ curl -sL ${SNAPPY_THEME_VERSION} | tar xzf - -C ${BASE_DIR}/themes/Murena/ +#Workaround to fix line break when answering an email on firefox +RUN sed -i 's/this.oEditor?.focus()/(this.oEditor?.focus(),navigator.userAgent.includes("Firefox")\&\&(window.getSelection().modify("move","forward","character"),window.getSelection().modify("move","backward","character")))/' ${BASE_DIR}/custom_apps/snappymail/app/snappymail/v/*/static/js/min/app.min.js # Remove unzip when unzipping is done RUN apt-get -y remove unzip