diff --git a/examples/configured/.vitepress/config.js b/examples/configured/.vitepress/config.js
index 6b0795c789c0..75ece0e4cee6 100644
--- a/examples/configured/.vitepress/config.js
+++ b/examples/configured/.vitepress/config.js
@@ -16,6 +16,15 @@ export default defineConfig({
}
]
},
+ {
+ text: '& <Text Literals &> code
',
+ items: [
+ {
+ text: '& <Test Page &> code
',
+ link: '/text-literals/'
+ }
+ ]
+ },
{
text: 'Static Data',
items: [
diff --git a/examples/configured/__test__/multisidebar.spec.ts b/examples/configured/__test__/multisidebar.spec.ts
index ed7e4f881658..e6a19e2b86cf 100644
--- a/examples/configured/__test__/multisidebar.spec.ts
+++ b/examples/configured/__test__/multisidebar.spec.ts
@@ -17,6 +17,7 @@ describe('test multi sidebar sort root', () => {
const sidebarContent = await sidebarLocator.allTextContents()
expect(sidebarContent).toEqual([
'Frontmatter',
+ '& code',
'Static Data',
'Multi Sidebar Test'
])
diff --git a/examples/configured/text-literals/index.md b/examples/configured/text-literals/index.md
new file mode 100644
index 000000000000..14b5f619b7e5
--- /dev/null
+++ b/examples/configured/text-literals/index.md
@@ -0,0 +1,5 @@
+---
+title: Text Literals
+---
+
+# Text Literals Test
diff --git a/src/client/theme-default/components/VPDocFooter.vue b/src/client/theme-default/components/VPDocFooter.vue
index 31adc7842b59..848ab1439007 100644
--- a/src/client/theme-default/components/VPDocFooter.vue
+++ b/src/client/theme-default/components/VPDocFooter.vue
@@ -42,14 +42,14 @@ const showFooter = computed(() => {