Opened 9 years ago

Closed 9 years ago

#1428 closed defect (bug) (fixed)

Content in Code Reference is HTML encoded, breaking code samples

Reported by: morganestes's profile morganestes Owned by: coffee2code's profile coffee2code
Milestone: Priority: normal
Component: Developer Hub Keywords: has-screenshots


Brought to my attention in Slack yesterday, the post content in the Code Reference function references posts is HTML encoded, so things like => in array declarations turn into =>. Comments (contributed examples) are parsed okay and show the expected output; it's just the main post content that gets messed up. is an example reference page that shows this in action.

Change History (2)

This ticket was mentioned in Slack in #docs by morganestes. View the logs.

9 years ago

#2 @coffee2code
9 years ago

  • Owner set to coffee2code
  • Resolution set to fixed
  • Status changed from new to closed

In 2153: Decode HTML entities in explanation code blocks.

Fixes #1428.

Note: See TracTickets for help on using tickets.