-
Notifications
You must be signed in to change notification settings - Fork 225
Open
Labels
BugSomething isn't workingSomething isn't working
Description
Most appropriate sub-area of p5.js?
- Accessibility
- Color
- Core/Environment/Rendering
- Data
- DOM
- Events
- Image
- IO
- Math
- Typography
- Utilities
- p5.strands
- WebGL
- DevOps, Build process, Unit testing
- Internationalization (i18n)
- Friendly Errors
- Other (specify if possible)
p5.js version
All (2.2.0, 1.11.11)
Web browser and version
chrome
Operating system
macos
Steps to reproduce this
Steps:
- Navigate to reference for
createP(),createDiv(), or possibly other pages with<html>tags - Observe that in stead of "Creates a paragraph element.
<div></div>" there is a plank space after the text - so the HTML tags are not escaped properly - However, in the source of the reference, they appear to be included consistently with
createSelect, which DOES work
Snippet:
- createDiv reference source - this one is not shown correctly
- createP reference source - this one is not shown correctly
- createSelect reference source - this one [is shown correctly](https://p5js.org/reference/p5/createSelect/]
Problem applies both to main site and beta, but because the reference contributor docs and technical setup is being revised for beta, it might be better to start with the main site. The problem appears to be the same, and migth be fixable in the same way in both places.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BugSomething isn't workingSomething isn't working