6174 / 6174/pagedown

When referencing links with empty optional parameters, the converter fails

未關閉
#41 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
auto-migrated Priority-Medium Type-Defect
主要語言
JavaScript
星號
0
分支
0
PR 合併指標
30 天內沒有已合併 PR

描述

```
What steps will reproduce the problem?
1. write
[14]:http://blog.thecanadaline.com/wp-content/uploads/2012/03/IMG_62441-225x300.
jpg ()\n\n
2. try to convert
3.

What is the expected output? What do you see instead?
we are expecting to have the link correctly coded inside the page, instead we
have a broken link and the unconverted string appears at the end of the page as
text:
[14]:http://blog.thecanadaline.com/wp-content/uploads/2012/03/IMG_62441-225x300.
jpg ()\n\n

We should be able to furnish empty parameters in brackets without breaking the
behaviour of the app...

What version of the product are you using? On what operating system?

Please provide any additional information below.
Removing the empty braces fixes the markdown.
```

Original issue reported on code.google.com by `dmar...@allscenes.com` on 13 Sep 2012 at 11:32

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

查看 pagedown 程式庫中的 markdown 轉換器,可能位於類似 Markdown.Converter.js 的檔案中。找出帶有選用參數(例如空括號)的連結參照在哪裡進行剖析。使用提供的錯誤範例進行測試,以查看剖析在哪裡失敗。檢查是否已有針對連結參照的測試,以了解預期行為。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
javascript
領域
documentation
Issue 類型
缺陷
難度
2/5
預估耗時
1-3 小時
活躍度
停滯
描述清晰度
描述清楚
新手友好度
40/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。