-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some symbols in code blocks in the reference (the description, not the examples) are msitakenly HTML-escaped #447
Comments
don't this work fine ? |
When users write code in the p5 web editor, they should be writing |
so the most feasible fix should be to replace the |
It starts as It's also still a p5.js-website/src/content/reference/en/p5/mousePressed.mdx Lines 28 to 30 in 7983427
It looks like we're intentionally escaping the contents of p5.js-website/src/pages/_utils.ts Lines 230 to 244 in 7983427
Looking at the git history, this was to address #95, which is for inline code. I think what we want is to have this apply just to block code. So that would mean escaping |
We noticed more issues about symbols and characters (like "<>") render incorrectly on the reference page, as mentioned in issue #522 #538, and PR #525 . Let's consolidate our discussion on how to fixes this in the issue. Pasting comments from @limzykenneth in PR#525
Would love to hear the contributors involved in this to share their thoughts @limzykenneth @davepagurek @nickmcintyre @Abhinavcode13 @goldwasser @meganmckissack @isZhiyangWang. Thanks! |
Most appropriate sections of the p5.js website?
Reference
What is your operating system?
Mac OS
Web browser and version
Firefox
Actual Behavior
On https://p5js.org/reference/p5/mousePressed/, it contains this code snippet:
Expected Behavior
Steps to reproduce
Go to https://p5js.org/reference/p5/mousePressed/
Would you like to work on the issue?
Need to discuss the fix first
The text was updated successfully, but these errors were encountered: