Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty string underline problem #2619

Closed
nn200433 opened this issue May 18, 2023 · 2 comments
Closed

Empty string underline problem #2619

nn200433 opened this issue May 18, 2023 · 2 comments
Labels
duplicate Issues that are duplicates of other issues

Comments

@nn200433
Copy link

nn200433 commented May 18, 2023

Do you want to request a feature or report a bug?

report a bug

What is the current behavior?

edit document

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.

underline

As shown in the gif demo.

If you enter a blank character and underline it, the underline will not be displayed.

What is the expected behavior?

Blank characters can show underline

Did this work in previous versions of DocumentServer?

I don't know

DocumentServer Docker tag:

version is 7.0.1.37

# 镜像来源
FROM onlyoffice/documentserver:7.0.1.37

# 设置时区
ENV TZ=Asia/Shanghai
ENV DEBIAN_FRONTEND=noninteractive

# 设置时区为上海
RUN apt-get update \
    && apt-get install -y tzdata \
    && ln -fs /usr/share/zoneinfo/${TZ} /etc/localtime \
    && echo ${TZ} > /etc/timezone \
    && dpkg-reconfigure --frontend noninteractive tzdata \
    && rm -rf /var/lib/apt/lists/*

# 移除一些插件
RUN rm -rf /var/www/onlyoffice/documentserver/sdkjs-plugins/youtube
RUN rm -rf /var/www/onlyoffice/documentserver/sdkjs-plugins/translator
RUN rm -rf /var/www/onlyoffice/documentserver/sdkjs-plugins/zotero
RUN rm -rf /var/www/onlyoffice/documentserver/sdkjs-plugins/mendeley
RUN rm -rf /var/www/onlyoffice/documentserver/sdkjs-plugins/thesaurus
RUN rm -rf /var/www/onlyoffice/documentserver/sdkjs-plugins/ocr

# 移除字体
RUN rm -rf /usr/share/fonts/truetype/dejavu
RUN rm -rf /usr/share/fonts/truetype/liberation

# 导入中文字体
COPY ./fonts/ /usr/share/fonts/

# 修正hightlight js引用问题
RUN sed -i "s/https:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/2.2.2\/jquery.min.js/vendor\/jQuery-2.2.2-min\/jquery-v2.2.2-min.js/" /var/www/onlyoffice/documentserver/sdkjs-plugins/highlightcode/index.html

# 添加中文字号
RUN sed -i "s/{value:8,displayValue:\"8\"}/{value:42,displayValue:\"初号\"},{value:36,displayValue:\"小初\"},{value:26,displayValue:\"一号\"},{value:24,displayValue:\"小一\"},{value:22,displayValue:\"二号\"},{value:18,displayValue:\"小二\"},{value:16,displayValue:\"三号\"},{value:15,displayValue:\"小三\"},{value:14,displayValue:\"四号\"},{value:12,displayValue:\"小四\"},{value:10.5,displayValue:\"五号\"},{value:9,displayValue:\"小五\"},{value:7.5,displayValue:\"六号\"},{value:6.5,displayValue:\"小六\"},{value:5.5,displayValue:\"七号\"},{value:5,displayValue:\"八号\"},{value:8,displayValue:\"8\"}/g" `grep -rwl --include="*.js" "{value:8,displayValue:\"8\"}" /var/www/onlyoffice/documentserver/web-apps/apps`

# 固定字体列表高度
RUN sed -i "s/{cls:\"input-group-nr\",menuStyle:\"min-width: 55px;\"/{cls:\"input-group-nr\",menuStyle:\"min-width: 55px;height: 500px;\"/g" `grep -rwl --include="*.js" "{value:8,displayValue:\"8\"}" /var/www/onlyoffice/documentserver/web-apps/apps`

# 修改文件缓存时间
# 修改24小时为1小时
RUN sed -i  "s/86400/3600/" /etc/onlyoffice/documentserver/default.json

EXPOSE 80 443

ARG COMPANY_NAME=onlyoffice
VOLUME /var/log/$COMPANY_NAME /var/lib/$COMPANY_NAME /var/www/$COMPANY_NAME/Data /var/lib/postgresql /var/lib/rabbitmq /var/lib/redis /usr/share/fonts/truetype/custom

ENTRYPOINT ["/app/ds/run-document-server.sh"]

Host Operating System:

CentOS 7.9


Today, I tried the latest docker image, but it was the same as the old one.

DI1NJ2{Q9G1HANZQ4P6G~ 2

9 UK`LH4LZ )IO@%1BWTJHM

@Rita-Bubnova Rita-Bubnova transferred this issue from ONLYOFFICE/Docker-DocumentServer Feb 28, 2024
@ElenaMaaya
Copy link

Hello @nn200433!
Thank you for report!
I can confirm that the problem exists. I created ticket 66683 in our issue tracker.

@Rita-Bubnova
Copy link
Member

Duplicate of #2554.

@Rita-Bubnova Rita-Bubnova closed this as not planned Won't fix, can't repro, duplicate, stale Mar 1, 2024
@Rita-Bubnova Rita-Bubnova added the duplicate Issues that are duplicates of other issues label Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Issues that are duplicates of other issues
Projects
None yet
Development

No branches or pull requests

3 participants