0.1.2: fix string raw.

This commit is contained in:
2025-08-23 14:36:48 +08:00
parent 011bdb4d8b
commit f0a6e6d8ef
3 changed files with 3 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ git clone https://git.licsber.site/ruby/open_explorer
## ChangeLog
```
250824周六0.1.1)增加复制功能
250824周六0.1.2)增加复制功能
250823周六0.0.9)修改按钮出现位置;优化样式
250823周六0.0.1)基础功能
```

View File

@@ -10,7 +10,7 @@
<% archive_url = archive_custom_field.value.strip %>
<a href="<%= archive_url %>"
target="_blank"
onclick="copyLink('<%= archive_url %>')"
onclick="copyLink(String.raw`<%= archive_url %>`)"
class="archive-button">
<span class="archive-icon">📂</span>
一键打开

View File

@@ -2,7 +2,7 @@ Redmine::Plugin.register :open_explorer do
name 'Open Explorer plugin'
author 'licsber'
description 'Open archive path using explorer.'
version '0.1.1'
version '0.1.2'
url 'https://git.licsber.site/ruby/open_explorer'
author_url 'https://licsber.site'
end