CJK link processing causes Markdown links and HTML links to have different URLs
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- markdown
調査の方向性
Start with the CommonMark specification's link-destination and URL-processing rules, then reproduce the Markdown and HTML examples from the issue using the repository's reference implementations. Trace where the Japanese URL is percent-encoded and compare both rendered hrefs. Done when the expected handling is specified and covered by an appropriate regression example or test.
索引モデルが issue の本文から書いたものです。
説明
The Commonmark spec currently results in the Japanese text in Markdown links getting converted. This is causing problems for me because I have Markdown links and HTML links on the same page, and my pa11y accessibility tests are failing with the Markdown links because they expect the Japanese text but instead are getting the converted text.
[Link](https://www.example.com/テレビ)
<a href="https://www.example.com/テレビ">Link</a>
This results in the following HTML:
<p><a href="https://www.example.com/%E3%83%86%E3%83%AC%E3%83%93">Link</a></p>
<p><a href="https://www.example.com/テレビ">Link</a></p>
In this case, I do not think the text should be converted. It's perfectly valid HTML to leave the links "as is", so no additional processing should be applied.
- 主要言語
- Python
- スター
- 5.2k
- フォーク
- 360
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
commonmark/commonmark-spec のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
commonmark/commonmark-spec#843 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
commonmark/commonmark-spec#838 · コメント 2 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 62/100
commonmark/commonmark-spec#728 · コメント 2 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
commonmark/commonmark-spec#848 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
commonmark/commonmark-spec#844 · コメント 5 件 · リアクション 1 件 ·
commonmark/commonmark-spec の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
sylvainmetayer/homelab#851 ·
メンテナーはふだん 1 日以内に返信
-
needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
kubeflow/docs-agent#279 ·
メンテナーはふだん 3 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
Qiskit/qiskit-ibm-runtime#3523 ·
メンテナーはふだん 1 日以内に返信