Skip to content
This repository was archived by the owner on Feb 25, 2021. It is now read-only.

Commit cc45da3

Browse files
committed
chore: merge from upstream
2 parents 4223f9c + 1efd64f commit cc45da3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

meta.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module.exports = {
22
helpers: {
3-
raw: function (options) {
4-
return options.fn(this)
3+
escape: function(value) {
4+
return value.replace(/'/g, ''');
55
}
66
},
77
prompts: {

template/nuxt.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module.exports = {
1818
meta: [
1919
{ charset: 'utf-8' },
2020
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
21-
{ hid: 'description', name: 'description', content: '{{ description }}' }
21+
{ hid: 'description', name: 'description', content: '{{escape description }}' }
2222
],
2323
link: [
2424
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }

0 commit comments

Comments
 (0)