Export: inline Markdown in pad text is not escaped

オープン
#227 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

@Aschenbath がすでに取り組んでいます。

2026年11月8日 から。

  • #245 @Aschenbath による — オープン

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
72/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript
領域
tooling

調査の方向性

Start by reading the token pipeline introduced in PR #226, focusing on how text tokens are distinguished from emitted markers. Verify the Markdown export behavior for inline emphasis and link syntax, while preserving code spans and links; done means literal pad text renders literally without changing attributed content.

索引モデルが issue の本文から書いたものです。

説明

Follow-up to #156 / PR #226, which fixed block-level re-interpretation only. This is the inline equivalent and is the biggest remaining fidelity gap in Markdown export.

Pad text that happens to contain Markdown syntax is exported unescaped, so it gets re-interpreted on render.

Example. A pad line reading:

a *star* and [text](http://x.y) here

exports so that *star* renders as italics, and the typed link syntax collides with the URL auto-linker to produce corrupt output:

<a href="[http://x.y">text</a>](http://x.y))

Expected: the exported Markdown renders as the literal characters the author typed, since the pad has no emphasis or link attribute on that text.

The token pipeline added in #226 is the right seam for this: text tokens are already distinguishable from emitted markers, so inline escaping can be applied to text tokens only, outside code spans and links.

主要言語
TypeScript
スター
71
フォーク
25
平均マージ
4分
マージ済み PR(30日)
4

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ether/ep_markdown のほかの issue

ether/ep_markdown の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。