posit-dev / posit-dev/positron

Footnotes with only pure Chinese characters have extra underlining

Open
#3,786 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: quarto bug support
Dominant language
TypeScript
Stars
4.3k
Forks
184
Avg merge
1d 11h
Merged PRs (30d)
206

Description

Positron Version:

Positron Version: 2024.06.1 (system setup) build 2024.06.1-27
Code - OSS Version: 1.90.0
Commit: a893e5b282612ccb2200102957ac38d3c14e5196
Date: 2024-06-26T01:33:58.809Z
Electron: 29.4.0
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Windows_NT x64 10.0.19045

Steps to reproduce the issue:

  1. Create a new .pmd document.
  2. Enter the following code in the document:
这是测试文字[^ft1]。

[^ft1]: 这是脚注。

[^ft1]: 这是脚注 1 。

[^ft1]: This is footnote。

202407020622

What did you expect to happen?

Remove the underline when there are no grammatical errors.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in a new .pmd document using the supplied Chinese footnote examples, then compare underlining for pure Chinese and mixed-language text. Trace the Markdown footnote and diagnostic entry points; done means pure-Chinese footnotes are not underlined incorrectly while genuine grammatical errors remain marked.

Written by the indexing model from the issue text.

Assessment

Tech stack
markdown
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.