Skip to content

Some reference entries do not display < > as expected #1163

@ksen0

Description

@ksen0

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:

  1. Navigate to reference for createP(), createDiv(), or possibly other pages with <html> tags
  2. 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
  3. However, in the source of the reference, they appear to be included consistently with createSelect, which DOES work

Snippet:

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.

Metadata

Metadata

Assignees

Labels

BugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions