GithubHelp home page GithubHelp logo

Comments (10)

tats-u avatar tats-u commented on April 27, 2024 1

can you tell me if you see anything weird in these input MD files?

No NULL characters are found in html, md, mdx, json, or css files in your ZIP archive.

I was just wondering, couldn't this be a Crowdin translation issue?

I found this issue in my (our) site where i18n is not applied, so I am convinced that Crowdin is not concerned with it.

from docusaurus.

Josh-Cena avatar Josh-Cena commented on April 27, 2024

Have you checked if it's an MDX issue? Hard to believe Docusaurus has anything to do here. I can also test later.

from docusaurus.

tats-u avatar tats-u commented on April 27, 2024

I will check other CJK sites built with other software (e.g. Astro & Nextra).

from docusaurus.

Josh-Cena avatar Josh-Cena commented on April 27, 2024

When I'm debugging this, I usually isolate an MDX compiler with the same setup as Docusaurus, and invoke it programmatically.

from docusaurus.

tats-u avatar tats-u commented on April 27, 2024

None of Astro & Nextra sites seem to be affected.

Rspress, which also uses MDX (maybe uses mdxjs-rs or markdown-rs instead), is not affected.

However, The document of Ant Design is affected. (They do not use Docusaurus or MDX but only remark.

Also, the demo of @easyops-cn/docusaurus-search-local is affected only when the UI language is Chinese despite the fact that the page content is the same one written in Chinese. This is strange and interesting.

from docusaurus.

slorber avatar slorber commented on April 27, 2024

Hey

To be honest I'm not super familiar with any of those concepts and won't have the bandwidth to investigate much πŸ˜…

I was just wondering, couldn't this be a Crowdin translation issue?

I'm not super skilled in rg and perl, can you tell me if you see anything weird in these input MD files?

zh-CN.zip

from docusaurus.

slorber avatar slorber commented on April 27, 2024

Thanks for investigating.

Also worth giving a try to use this env variable on your site when building: process.env.SKIP_HTML_MINIFICATION === 'true'

from docusaurus.

tats-u avatar tats-u commented on April 27, 2024

Neither of $env:SKIP_HTML_MINIFICATION = "true" (I am using PowerShell) nor --no-minify helped.
MDX part was still minified.
Also, changing the locale from "ja" to "en" did not, either.

from docusaurus.

tats-u avatar tats-u commented on April 27, 2024

https://typescriptbook.jp/ (https://github.com/yytypescript/book)

This site uses Docusaurus 2.4.1, and NULL chars are not found there.

from docusaurus.

Josh-Cena avatar Josh-Cena commented on April 27, 2024

I will check this afternoon. There's a chance that there's something environment specific.

from docusaurus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.