p5.js Documentation: HTML element not escaped properly

Created on 18 Nov 2020  路  3Comments  路  Source: processing/p5.js

Most appropriate sub-area of p5.js?

  • [ ] Accessibility (Web Accessibility)
  • [ ] Build tools and processes
  • [ ] Color
  • [ ] Core/Environment/Rendering
  • [ ] Data
  • [ ] DOM
  • [ ] Events
  • [ ] Friendly error system
  • [ ] Image
  • [ ] IO (Input/Output)
  • [ ] Localization
  • [ ] Math
  • [ ] Unit Testing
  • [ ] Typography
  • [ ] Utilities
  • [ ] WebGL
  • [x] Other: Documentation rendering issue

Details about the bug:

  • p5.js version: N/A (refers to documentation)
  • Web browser and version: N/A
  • Operating System: N/A

In p5.js line 1006, documentation for createInput() has an <input> tag which is escaped; however, in the actual documentation, it is not:

image

Any ideas why this might happen? Or is the JSDoc not used for the actual page (in which case, is there another repo for the page)?

bug

Most helpful comment

This has been fixed in #4764 but the reference will not be updated until a new version is released so the fix will go live when the next version is released.

All 3 comments

Welcome! 馃憢 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, be sure to follow the issue template if you haven't already.

This has been fixed in #4764 but the reference will not be updated until a new version is released so the fix will go live when the next version is released.

OK, thanks for letting me know!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dhowe picture dhowe  路  3Comments

oranyelik picture oranyelik  路  3Comments

Patchy12 picture Patchy12  路  3Comments

kappaxbeta picture kappaxbeta  路  3Comments

swirly picture swirly  路  3Comments