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

Unrecognised input. Possibly missing opening '{' #537

Open
THU-Yu opened this issue Aug 1, 2024 · 2 comments
Open

Unrecognised input. Possibly missing opening '{' #537

THU-Yu opened this issue Aug 1, 2024 · 2 comments

Comments

@THU-Yu
Copy link

THU-Yu commented Aug 1, 2024

  • diff2html version: 3.4.48

I encountered the following error:

  • Unrecognised input. Possibly missing opening '{'
    in ./node_modules/.pnpm/[email protected]/node_modules/diff2html/bundles/css/diff2html.min.css (line 1, column 1743)

It seems that there is a problem with the CSS format.

@rtfpessoa
Copy link
Owner

Can you provide an example of how you got into that error?

@THU-Yu
Copy link
Author

THU-Yu commented Aug 5, 2024

I use import 'diff2html/bundles/css/diff2html.min.css'; in my code. I verified the CSS format of version 3.4.48 through the website. The error report is as follows. I searched online and found that it might be a problem with CSS Lint.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants