terrylinooo / githuber-md

Markdown editor plugin for WordPress.
GNU General Public License v3.0
610 stars 89 forks source link

URL 中含有 () 的轉換問題 #315

Closed rickbsr closed 11 months ago

rickbsr commented 1 year ago

如果沒有提供以下詳細資訊,您開立的問題回報會被無視。

問題或臭蟲

清楚的說明問題發生的情況及結果。

如何重現

請告知重現此問題的步驟回何:

若 URL 結尾是 () 時,其無法正確轉換,請見截圖。

預期的行為或結果

不應該顯示 URL。

畫面截圖

在編輯畫面是,預覽皆為正常,如下:

截圖 2023-08-15 上午10 04 02

但實際顯示卻出現問題,如下:

截圖 2023-08-15 上午10 04 49

發現只有在 URL 結尾時,才有該情況。

// 轉換出錯 https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html#toLowerCase()

// 正確轉換 https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html#toLowerCase(java.util.Locale)

伺服器環境

用戶端環境

其它說明

如果有的話,請提供。

github-actions[bot] commented 11 months ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 2 days.

github-actions[bot] commented 11 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.