Skip to content

Conversation

@adampage
Copy link
Member

Heya @kfranqueiro, here’s another whitespace request. 😅

In #4829, cspell gave me “unknown word” failures for “tou” and “shi, so I resolved them by adding a file-specific override.

A little further down in cspell.yml, I noticed a regex for ignoring any elements with the lang attribute — which is exactly where my unknown words had occurred in #4829. However, my lang content contained multiple lines, whereas the regex seems to be looking for single line matches.

Would it be okay to make this one more permissive so that I can remove the file-specific override?

@netlify
Copy link

netlify bot commented Jan 11, 2026

Deploy Preview for wcag2 ready!

Name Link
🔨 Latest commit f809bd9
🔍 Latest deploy log https://app.netlify.com/projects/wcag2/deploys/6962ede95414d700088ef52c
😎 Deploy Preview https://deploy-preview-4852--wcag2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@adampage
Copy link
Member Author

Here’s a multi-line example from my other PR:

<q lang="ja"><!--
  --><ruby><!--
    --><rp>(</rp><rt>mi</rt><rp>)</rp><!--
    --><rp>(</rp><rt>mi</rt><rp>)</rp><!--
    --><rp>(</rp><rt>ka</rt><rp>)</rp><!--
    --><rp>(</rp><rt>ka</rt><rp>)</rp><!--
    --><rp>(</rp><rt>ke</rt><rp>)</rp><!--
    --><rp>(</rp><rt>tou</rt><rp>)</rp><!--
    -->だお<rp>(</rp><rt>dao</rt><rp>)</rp><!--
    --><rp>(</rp><rt>shi</rt><rp>)</rp><!--
  --></ruby><!--
--></q>

...where the goofy HTML comments are to prevent the browser from rendering unwanted whitespace between the kanji/kana.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants