Skip to content

Commit a18feb9

Browse files
github-actions[bot]quantizor
authored andcommitted
Version Packages
1 parent 50abc63 commit a18feb9

5 files changed

Lines changed: 25 additions & 30 deletions

File tree

.changeset/fix-bare-url-trailing-asterisks.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

.changeset/fix-emphasis-hard-break.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

.changeset/fix-react-dev-store.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

lib/CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
# markdown-to-jsx
22

3+
## 9.7.10
4+
5+
### Patch Changes
6+
7+
- 3daa41e: fix: strip trailing asterisks from bare URL href (fixes #839)
8+
9+
When a bare URL was wrapped in bold markdown (`**url**`), the generated link's `href` incorrectly included the closing asterisks (e.g. `href="https://example.com/foo**"`). The parser now trims trailing `*` from bare URLs so the href is correct. No consumer changes required.
10+
11+
当裸 URL 包裹在粗体 markdown(`**url**`)中时,生成的链接 `href` 错误地包含了闭合星号(例如 `href="https://example.com/foo**"`)。解析器现在会从裸 URL 中去除尾部的 `*`,使 href 正确。无需更改消费者代码。
12+
13+
जब एक बेयर URL बोल्ड markdown (`**url**`) में लपेटा गया था, तो जनरेट किए गए लिंक का `href` गलत तरीके से क्लोज़िंग एस्टेरिस्क शामिल करता था (जैसे `href="https://example.com/foo**"`)। पार्सर अब बेयर URL से अनुगामी `*` को हटा देता है ताकि href सही हो। कोई उपभोक्ता परिवर्तन आवश्यक नहीं है।
14+
15+
- f520531: resolve emphasis delimiters closing before hard line breaks (two trailing spaces or backslash before newline)
16+
17+
解决在硬换行符(换行前有两个尾随空格或反斜杠)之前关闭强调分隔符的问题
18+
19+
हार्ड लाइन ब्रेक (न्यूलाइन से पहले दो ट्रेलिंग स्पेस या बैकस्लैश) से पहले एम्फ़ैसिस डिलीमिटर बंद होने की समस्या हल की
20+
21+
- f520531: include \_store on raw React elements unconditionally so React dev-mode validation works in all bundler environments
22+
23+
无条件地在原始 React 元素上包含 \_store,使 React 开发模式验证在所有打包器环境中正常工作
24+
25+
सभी बंडलर वातावरण में React डेव-मोड सत्यापन काम करने के लिए रॉ React एलिमेंट्स पर बिना शर्त \_store शामिल करें
26+
327
## 9.7.9
428

529
### Patch Changes

lib/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "A very fast and versatile markdown toolchain. AST, React, React Native, SolidJS, Vue, Markdown, and HTML output available with full customization.",
44
"homepage": "https://markdown-to-jsx.quantizor.dev",
55
"license": "MIT",
6-
"version": "9.7.9",
6+
"version": "9.7.10",
77
"publishConfig": {
88
"access": "public"
99
},

0 commit comments

Comments
 (0)