Comments (1)
export default {
doc: {
title: "father's doc", // notice we have a ' here
},
}
Then you will get crash like this:
ᕙ(⇀‸↼‵‵)ᕗ
This problem is happended at umi-plugin-father-doc/src/index.ts#L95
I try to fix this bug by the way but failed.
Both opts.title.replace('\'', '\\'')
and escapeHTML(opts.title)
can't slove the problem.
I'm too tired, so there is no PR but issue leave to you. : )
from dumi.
Related Issues (20)
- 您好,我这个运行项目提示 HOT 4
- bug: 使用node16版本无法安装依赖 HOT 1
- bug: useRouteMeta 意外返回了 Proxy 对象?且在首页这种没有 texts 的场景下取值 texts 会报 `Uncaught Promise {<fulfilled>: {…}}`
- bug: 自定义全局组件无法在 页面tab($tab-example)下使用?
- dumi的mock功能是只能在dumi dev中使用吗?dumi build后看着没生效 HOT 2
- bug: alias 在 Live demo 中不生效 HOT 1
- bug: 打包生成了无效名称文件,win 10环境 HOT 1
- bug: Cannot read properties of undefined (reading 'directory') HOT 11
- bug: npx create-dumi 选择 React Library - pnpm,报错 HOT 2
- feat: 完善 Markdown unified 处理 HOT 1
- bug: 2.3.8 版本 .dumi 下的样式优先级变低了
- bug: 全文搜索无法正常搜索,显示加载中,并且控制台报Uncaught ReferenceError: require is not defined HOT 3
- bug: dumi 2.4.0 之后的版本会报错 require is not defined HOT 1
- bug: 开启 showLineNum时, 光标错位
- bug: iframe 高度设置无效 HOT 1
- bug: Tree组件小驼峰显示异常 HOT 3
- feat: 亮色/暗色切换后 iframe 的内容能随之切换
- 代码展示支持折叠 HOT 1
- bug: create failed HOT 6
- bug: Demo 中引用的类型声名文件没有展示在 Tabs 中
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dumi.