Skip to content

Commit 837884b

Browse files
committed
release: v2.1.3
2 parents 0dac26a + 828bb6c commit 837884b

11 files changed

Lines changed: 63 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
## 更新日志
22

3+
### 2.1.3
4+
5+
*2024-07-15*
6+
7+
#### Fix 🐛
8+
9+
- `content`内容中文字字符转义为`unicode`序列
10+
311
### 2.1.2
412

513
*2024-07-10*

gulpfile.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const rename = require('gulp-rename')
88

99
const cssWrap = require('./plugins/css-wrap')
1010
const extractColor = require('./plugins/extract-color')
11+
const unicodeEscape = require('./plugins/unicode-escape')
1112

1213
const {
1314
scssSrc,
@@ -23,6 +24,7 @@ const {
2324
function compileCss() {
2425
return src(scssSrc)
2526
.pipe(sass.sync().on('error', sass.logError))
27+
.pipe(unicodeEscape())
2628
.pipe(autoprefixer({ cascade: false }))
2729
.pipe(cssWrap({ selector }))
2830
.pipe(cleanCss())

lib/base.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/icon.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/index.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/pagination.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/select-dropdown.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/select.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "element-theme-darkplus",
3-
"version": "2.1.2",
3+
"version": "2.1.3",
44
"description": "Element component dark theme base on the latest version 2.15.14.",
55
"main": "lib/index.css",
66
"style": "lib/index.css",

plugins/css-wrap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function cssWrap(options = {}) {
1414
return callback(new PluginError(PLUGIN_NAME, 'Streaming not supported'))
1515
}
1616

17-
var contents = file.contents.toString()
17+
const contents = file.contents.toString()
1818

1919
if (contents) {
2020
file.contents = new Buffer.from(wrap(contents, options))

0 commit comments

Comments
 (0)