@sveltejs/kit 1.0.0-next.487 → 1.0.0-next.488

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sveltejs/kit",
3
- "version": "1.0.0-next.487",
3
+ "version": "1.0.0-next.488",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/sveltejs/kit",
@@ -1,3 +1,5 @@
1
+ import { decode } from './entities.js';
2
+
1
3
  const DOCTYPE = 'DOCTYPE';
2
4
  const CDATA_OPEN = '[CDATA[';
3
5
  const CDATA_CLOSE = ']]>';
@@ -147,6 +149,8 @@ export function crawl(html) {
147
149
  i -= 1;
148
150
  }
149
151
 
152
+ value = decode(value);
153
+
150
154
  if (name === 'href') {
151
155
  href = value;
152
156
  } else if (name === 'rel') {