From 8f9164836e825ae25fa16f0d76607e1db9c8bc98 Mon Sep 17 00:00:00 2001 From: Conduitry Date: Thu, 8 Feb 2018 01:56:36 -0500 Subject: [PATCH] support tag interpolation in non-root ' + ); + parser.read(/<\/style>/); + element.end = parser.index; } else { parser.stack.push(element); } diff --git a/test/runtime/samples/non-root-style-interpolation/_config.js b/test/runtime/samples/non-root-style-interpolation/_config.js new file mode 100644 index 000000000000..326d17e3b17b --- /dev/null +++ b/test/runtime/samples/non-root-style-interpolation/_config.js @@ -0,0 +1,15 @@ +export default { + data: { + color: 'red', + }, + + html: ` +
+ + foo +
`, +}; diff --git a/test/runtime/samples/non-root-style-interpolation/main.html b/test/runtime/samples/non-root-style-interpolation/main.html new file mode 100644 index 000000000000..b49fc101a70f --- /dev/null +++ b/test/runtime/samples/non-root-style-interpolation/main.html @@ -0,0 +1,8 @@ +
+ + foo +