` has a conditional rendered children using `v-if`, the following error is thrown:\r\n\r\n```shell\r\nTypeError: Cannot read properties of null (reading 'nextSibling')\r\n at nextSibling (framework.w6niQ9Mc.js:17:682)\r\n at kt (framework.w6niQ9Mc.js:13:29640)\r\n at N (framework.w6niQ9Mc.js:13:21176)\r\n at v (framework.w6niQ9Mc.js:13:23760)\r\n at Object.process (framework.w6niQ9Mc.js:13:37355)\r\n at N (framework.w6niQ9Mc.js:13:21489)\r\n at v (framework.w6niQ9Mc.js:13:23760)\r\n at O (framework.w6niQ9Mc.js:13:23130)\r\n at L (framework.w6niQ9Mc.js:13:22048)\r\n at N (framework.w6niQ9Mc.js:13:21426)\r\n```\n\n### Reproduction\n\nMinimal reproduction link: https://stackblitz.com/edit/vitepress-nextsibling-ssr-error\r\n\r\nSee the `TeleportedComponent.vue` and `error-demo.md` files.\r\n\r\n___\r\n\r\n**Reproduction steps**:\r\n\r\n- Create a production build (`npm run docs:build`)\r\n- Serve the production (`npm run docs:dev`)\r\n- Go directly the URL where the custom component is imported\r\n- Interact with the custom component button to trigger the menu\r\n- An error is thrown in the console, the component doesn't work\r\n\r\nNow, this issue can be avoided if the user go to any other page that doesn't contain the component, and go back to this page.\n\n### Expected behavior\n\nThe conditional rendering of the children using a `v-if`, inside the `\u003CTeleport />`, should not cause any issues on the first page load.\n\n### System Info\n\n```Text\nSystem:\r\n OS: macOS 14.5\r\n CPU: (8) arm64 Apple M1 Pro\r\n Memory: 95.19 MB / 16.00 GB\r\n Shell: 5.9 - /bin/zsh\r\n Binaries:\r\n Node: 20.14.0 - ~/.nvm/versions/node/v20.14.0/bin/node\r\n Yarn: 1.22.19 - ~/.yarn/bin/yarn\r\n npm: 10.7.0 - ~/.nvm/versions/node/v20.14.0/bin/npm\r\n pnpm: 8.15.1 - ~/Library/pnpm/pnpm\r\n Browsers:\r\n Brave Browser: 126.1.67.123\r\n Chrome: 126.0.6478.126\r\n Safari: 17.5\r\n npmPackages:\r\n vitepress: 1.2.3 => 1.2.3\n```\n\n\n### Additional context\n\nI've first noticed the issue when working on an open-source [vue3-select-component](https://github.com/TotomInc/vue3-select-component).\r\n\r\nE.g. go to https://vue3-select-component.vercel.app/demo/single-select.html and interact with the component. You'll see the same error thrown in the console.\r\n\r\nFor reference: https://github.com/TotomInc/vue3-select-component/issues/78\n\n### Validations\n\n- [X] Check if you're on the [latest VitePress version](https://github.com/vuejs/vitepress/releases/latest).\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.dev).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2912],{"name":2853,"color":2854},3987,"SSR issue with Teleport and conditional rendering of its children (Cannot read properties of null (reading 'nextSibling'))","2024-07-04T04:41:55Z","https://github.com/vuejs/vitepress/issues/3987",0.7106865,{"description":2919,"labels":2920,"number":2925,"owner":2856,"repository":2857,"state":2896,"title":2926,"updated_at":2927,"url":2928,"score":2929},"### Describe the bug\n\nHTML entities not decoded , for instance \r\n`\"إدارة أوامر للمعدات والمخزون\",`\n\n### Reproduction\n\nCurrent template\r\n\r\n`\u003Cslot name=\"home-hero-info\">\r\n \u003Ch1 v-if=\"name\" class=\"name\">\r\n \u003Cspan class=\"clip\">{{ name }}\u003C/span>\r\n \u003C/h1>\r\n \u003Cp v-if=\"text\" class=\"text\">{{ text }}\u003C/p>\r\n \u003Cp v-if=\"tagline\" class=\"tagline\">{{ tagline }}\u003C/p>\r\n \u003C/slot>`\n\n### Expected behavior\n\nProposed template\r\n`\u003Cslot name=\"home-hero-info\">\r\n \u003Ch1 v-if=\"name\" class=\"name\">\r\n \u003Cspan class=\"clip\" v-html=\"name\">\u003C/span>\r\n \u003C/h1>\r\n \u003Cp v-if=\"text\" class=\"text\" v-html=\"text\">\u003C/p>\r\n \u003Cp v-if=\"tagline\" class=\"tagline\" v-html=\"tagline\">\u003C/p>\r\n \u003C/slot>`\n\n### System Info\n\n```sh\nSystem:\r\n OS: Windows 10 10.0.22000\r\n CPU: (8) x64 Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz\r\n Memory: 4.09 GB / 15.88 GB\r\n Binaries:\r\n Node: 18.15.0 - D:\\Tools\\Nodejs\\18.15.0\\node.EXE\r\n npm: 9.6.2 - D:\\Tools\\Nodejs\\18.15.0\\npm.CMD\r\n pnpm: 8.6.3 - D:\\Tools\\Nodejs\\18.15.0\\pnpm.CMD\r\n Browsers:\r\n Edge: Spartan (44.22000.120.0), Chromium (114.0.1823.82)\r\n Internet Explorer: 11.0.22000.120\r\n npmPackages:\r\n vitepress: 1.0.0-beta.5 => 1.0.0-beta.5\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Check if you're on the [latest VitePress version](https://github.com/vuejs/vitepress/releases/latest).\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.dev).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2921,2922],{"name":2881,"color":2882},{"name":2923,"color":2924},"contribution welcome","11E4B8",2621,"[Default theme] VPHero html entities not decoded ","2023-07-25T00:04:49Z","https://github.com/vuejs/vitepress/issues/2621",0.7163325,{"description":2931,"labels":2932,"number":2933,"owner":2856,"repository":2857,"state":2896,"title":2934,"updated_at":2935,"url":2936,"score":2937},"### Is your feature request related to a problem? Please describe.\n\nWhen I click the right side toc , browser's terminal will report like this :\r\n\r\n```\r\nDOMException: Failed to execute 'querySelector' on 'Document': '#%E5%BC%A0%E6%B8%A9%E7%9A%84%E9%80%89%E6%8B%A9' is not a valid selector.\r\n at l (https://www.gyhyfj.com/assets/app.db3f66e3.js:1:122893)\r\n at $t (https://www.gyhyfj.com/assets/app.db3f66e3.js:1:12734)\r\n at qe (https://www.gyhyfj.com/assets/app.db3f66e3.js:1:12813)\r\n at HTMLAnchorElement.n (https://www.gyhyfj.com/assets/app.db3f66e3.js:1:56863)\r\n```\r\n\r\nI think the reason is that the heading's language is not English , such as Chinese.\r\nHowever ... everything works well as usual.\r\nIt just looked not elegant.\n\n### Describe the solution you'd like\n\nnot yet\n\n### Describe alternatives you've considered\n\n_No response_\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.vuejs.org).\n- [X] Read the [Contributing Guidelines](https://github.com/vuejs/vitepress/blob/main/.github/contributing.md).\n- [X] Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.",[],958,"DOMException: Failed to execute 'querySelector' on 'Document': '#%E5%A3%A' is not a valid selector.","2023-01-21T14:32:35Z","https://github.com/vuejs/vitepress/issues/958",0.7209127,{"description":2939,"labels":2940,"number":2944,"owner":2856,"repository":2857,"state":2896,"title":2945,"updated_at":2946,"url":2947,"score":2948},"### Describe the bug\n\nhttps://github.com/vuejs/vitepress/blob/3eb4374af286362d7f4257b288fd2d5b9173dcba/src/client/theme-default/styles/vars.css#L177\r\n\r\nIncorrectly output as:\r\n```\r\n --vp-c-text-1: rgba(60, 60, 67);\r\n```\n\n### Reproduction\n\nThis can be found easily from the npm repo: https://www.npmjs.com/package/vitepress?activeTab=code\r\n\r\nThen go to `dist/client/theme-default/styles/vars.css`, line 177.\n\n### Expected behavior\n\nShould be\r\n```\r\n --vp-c-text-1: rgba(60, 60, 67, 1);\r\n```\n\n### System Info\n\n```Text\nNot relevant\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Check if you're on the [latest VitePress version](https://github.com/vuejs/vitepress/releases/latest).\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.dev).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2941],{"name":2942,"color":2943},"bug: pending triage","e99695",4439,"Variable \"--vp-c-text-1\" is incorrect in the bundle ouput","2024-12-29T04:43:46Z","https://github.com/vuejs/vitepress/issues/4439",0.7288773,{"description":2950,"labels":2951,"number":2953,"owner":2856,"repository":2857,"state":2896,"title":2954,"updated_at":2955,"url":2956,"score":2957},"### Describe the bug\n\n```import { createContentLoader } from 'vitepress'\r\ninterface Post{\r\n title: string\r\n date: Date\r\n cover: string | undefined\r\n description: string | undefined\r\n tags: string[] | undefined\r\n categorie: string | undefined\r\n url:string\r\n author: string | undefined\r\n}\r\n\r\ndeclare const data: Post[]\r\nexport { data }\r\nexport default createContentLoader(['**/*.md','!**/index.md','!nav.md','!archives.md','!posts.md'], {\r\n includeSrc: false, \r\n render: false,\r\n excerpt: false,\r\n transform(raw): Post[] {\r\n console.log(\"row\",raw);\r\n return raw\r\n .map(({url, frontmatter }) => ({\r\n title: frontmatter.title,\r\n cover:frontmatter.cover,\r\n description:frontmatter.description,\r\n tags:frontmatter.tags,\r\n categorie:frontmatter.categorie,\r\n date: frontmatter.date,\r\n url: url,\r\n author: frontmatter.author\r\n }))\r\n }\r\n})\r\n```\r\nIn the above code, I utilize createContentLoader to retrieve information from all *.md files; however, I do not require data from index.md or nav.md files located in any directory. I have employed glob patterns for this purpose, but they seem not to be taking effect. How should I address this issue?\n\n### Reproduction\n\ndocs\r\n | ---index.md\r\n | ---foo.md\r\n | --- vue\r\n | --- index.md\r\n | --- foo2.md\n\n### Expected behavior\n\ndocs\r\n | ---foo.md\r\n | --- vue\r\n | --- foo2.md\n\n### System Info\n\n```Text\nvitepress-version: 1.0.2\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Check if you're on the [latest VitePress version](https://github.com/vuejs/vitepress/releases/latest).\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.dev).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2952],{"name":2942,"color":2943},3821,"Watch is not effectively utilizing glob patterns","2024-05-15T04:41:47Z","https://github.com/vuejs/vitepress/issues/3821",0.7322594,["Reactive",2959],{},["Set"],["ShallowReactive",2962],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fHwi5CsoBDfQASWuLBJD6efUc3fKa8EUiwODf9aX3fRg":-1},"/vuejs/vitepress/4482"]