@vuepress/core 1.8.2 → 1.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,5 @@
1
1
  import unionBy from 'lodash/unionBy'
2
+ import escape from 'escape-html'
2
3
 
3
4
  export default {
4
5
  // created will be called on both client and ssr
@@ -132,7 +133,7 @@ function renderPageMeta (meta) {
132
133
  return meta.map(m => {
133
134
  let res = `<meta`
134
135
  Object.keys(m).forEach(key => {
135
- res += ` ${key}="${m[key]}"`
136
+ res += ` ${key}="${escape(m[key])}"`
136
137
  })
137
138
  return res + `>`
138
139
  }).join('\n ')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vuepress/core",
3
- "version": "1.8.2",
3
+ "version": "1.8.3",
4
4
  "description": "Minimalistic doc generator with Vue component based layout system",
5
5
  "keywords": [
6
6
  "documentation",
@@ -25,11 +25,11 @@
25
25
  "dependencies": {
26
26
  "@babel/core": "^7.8.4",
27
27
  "@vue/babel-preset-app": "^4.1.2",
28
- "@vuepress/markdown": "1.8.2",
29
- "@vuepress/markdown-loader": "1.8.2",
30
- "@vuepress/plugin-last-updated": "1.8.2",
31
- "@vuepress/plugin-register-components": "1.8.2",
32
- "@vuepress/shared-utils": "1.8.2",
28
+ "@vuepress/markdown": "1.8.3",
29
+ "@vuepress/markdown-loader": "1.8.3",
30
+ "@vuepress/plugin-last-updated": "1.8.3",
31
+ "@vuepress/plugin-register-components": "1.8.3",
32
+ "@vuepress/shared-utils": "1.8.3",
33
33
  "autoprefixer": "^9.5.1",
34
34
  "babel-loader": "^8.0.4",
35
35
  "cache-loader": "^3.0.0",
@@ -74,5 +74,5 @@
74
74
  "email": "chl814@foxmail.com"
75
75
  }
76
76
  ],
77
- "gitHead": "11eed0f0f105b97a7324cfa8e59d7d27bb966842"
77
+ "gitHead": "469b33fc781edbc4dfd1b4dc56a71c76188a521f"
78
78
  }