# クイック引用テーマコンポーネント

**URL:** <https://meta.discourse.org/t/quick-quote-theme-component/143621>\
**Category:** Theme component\
**Created:** [2020 年 3 月 7 日午後 7:48 UTC](https://meta.discourse.org/t/quick-quote-theme-component/143621 "2020-03-07T19:48:50Z")\
**Posts on this page:** 1\
**Showing post:** 52

<div class="post-metadata">

**Author:** ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)\
**Post date:** [2025 年 3 月 21 日午後 5:35 UTC](https://meta.discourse.org/t/quick-quote-theme-component/143621/52 "2025-03-21T17:35:15Z")

</div>

こちらです：

> <https://github.com/merefield/discourse-quick-quote/pull/3>
>
> This PR does the following:
> \* Adds support for native class in the core
> \* Adds… missing config files, including lint
> \* Removes \`es6\` extension
> \* Removes API version and pin theme to 3.5.0.beta1-dev
> \* Makes the replacing links regex lazy to avoid removing text between two links
> 
> The code itself is untouched. I checked the core, and it's still up to date.
> 
> \<details\>
> \<summary\>Demo\</summary\>
> 
> https://github.com/user-attachments/assets/d2195f62-a0b9-4e26-9237-f38bfe736980
> \</details\>
> 
> \<details\>
> \<summary\>About the issue with links, here is an example:\</summary\>
> 
> !\[image\](https://github.com/user-attachments/assets/9bd656a5-8dbb-4f19-b0d7-cb9311424281)
> Visually, it was matching:
> !\[image\](https://github.com/user-attachments/assets/8902f5e6-67cf-453f-a692-7d79498654ff)
> 
> But now:
> !\[image\](https://github.com/user-attachments/assets/2cd8dc1a-3a2e-479a-9bae-00bb2cfcc199)
> 
> And it works better:
> !\[image\](https://github.com/user-attachments/assets/c7da3446-c484-44c8-ad0e-8e6872ea9956)
> \</details\>

また、リンクの置換に関する問題を修正したことも注目に値します。  
正規表現が貪欲すぎたため、2つのリンク間のテキストが削除されていました。

---

_[View the full topic](https://meta.discourse.org/t/quick-quote-theme-component/143621)._
