online-judge-tools / verification-helper

a testing framework for snippet libraries used in competitive programming

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Extra `\n` in the code of the page generated by verification-helper when there is a comment in the C++ code

hly1204 opened this issue · comments

commented

Summary / 概要

Extra \n in the code of the page generated by verification-helper when there is a comment in the C++ code.

Steps to reproduce / 再現方法

use CI in GitHub action.

environments:

  • version: online-judge-tools 11.5.1 (+ online-judge-api-client 10.10.0)

Expected behavior / 期待される挙動

It seems only happend in my repo. The page https://hly1204.github.io/library/datastructure/basic/Cartesian_tree.hpp has an extra \n after a comment, but the source code did't have the extra \n. All comments in the code will have an extra \n in the page rendered. Only comment like // will have the extra \n, /**/ won't.

Actual behavior / 実際の挙動

Other notes / その他

commented

Sorry for my carelessness. This will happen when using eof=crlf in .gitattributes.