`<canvas>` tag rendered instead of escaped in `p5.Graphics` reference page
维护者通常 2 天内回复
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 74/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- javascript
调研方向
从 p5.Graphics 参考页面开始,检查 p5.Graphics.remove() 条目,其中 标签会显示在参考文本中。检查附近的参考页面是否存在相同的行为,然后验证示例是否以转义文本的形式出现,并且没有插入真正的 canvas 元素。
由索引模型根据 Issue 内容生成。
描述
Most appropriate sections of the p5.js website?
Reference
What is your operating system?
Mac OS
Web browser and version
147.0.7727.138 (Official Build) (arm64)
Actual Behavior
The <canvas> tag in the p5.Graphics.remove() reference text is being rendered as a real canvas element on the page.
Expected Behavior
The reference page should show the code example as text only. The <canvas> element should be escaped, not inserted into the page as an actual canvas.
Steps to reproduce
Visit https://p5js.org/reference/p5/p5.Graphics/ and scroll down to Methods>remove.
Notes
Whoever works on this issue should audit the website for other reference pages suffering from the same issue.
Would you like to work on the issue?
No, I'm just reporting the issue
- 主要语言
- MDX
- 星标
- 97
- 派生
- 330
- 平均合并
- 4 天 18 小时
- 30 天内合并 PR
- 11
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
processing/p5.js-website 的其他 Issue
-
Links like `mailto:` and `../` break on translated pages (e.g. the Code of Conduct report email)可能已有人在做 @Akshats-git 于 1 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
processing/p5.js-website#1631 · 2 条评论 · 已指派 1 人 ·
维护者通常 2 天内回复
-
难度 1/5 1 小时以内 新手友好度 92/100
processing/p5.js-website#1619 ·
维护者通常 2 天内回复
-
Add Korean translations for `layered-rendering-with-framebuffers.mdx`可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 84/100
processing/p5.js-website#1374 ·
维护者通常 2 天内回复
-
Add Korean translations for `intro-to-p5-strands.mdx`可能已有人在做 @eupthere 于 190 天前认领。 未关闭
难度 1/5 1-3 小时 新手友好度 86/100
processing/p5.js-website#1356 · 1 个 reaction ·
维护者通常 2 天内回复
-
[2.0] TutorialLayout.astro is missing the showBanner translation feature可能已有人在做 @kramosss 于 97 天前认领。 未关闭Bug Reserved (CodeDay)
难度 2/5 1-3 小时 新手友好度 68/100
processing/p5.js-website#1329 · 7 条评论 ·
维护者通常 2 天内回复
查看 processing/p5.js-website 的全部 Issue
相似的 Issue
-
good first issue help wanted r-docs
难度 2/5 1-3 小时 新手友好度 72/100
servo/rust-smallvec#824 ·
维护者通常 1 天内回复
-
[guide] AGENTS.md claims the coverage gate, e2e and full lint run on every PR after ADR 0011 focused validation可能已有人在做 @hivecommons-hive 今天认领。 未关闭agent/guide documentation hive/claimed-by-guide stage/040-covered-by-pr
难度 2/5 1-3 小时 新手友好度 81/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 67/100
维护者通常 3 天内回复
-
feedback simulation workshop
难度 2/5 1-3 小时 新手友好度 65/100
githubnext/gh-aw-workshop#5157 ·
维护者通常 1 天内回复