Making WordPress.org

Opened 7 years ago

Closed 7 years ago

#3292 closed defect (bug) (fixed)

GitHub documentation sync creates HTML entities

Reported by: clorith's profile Clorith Owned by: coffee2code's profile coffee2code
Milestone: Priority: normal
Component: Developer Hub Keywords:
Cc:

Description

Whenever the GitHub documentation sync runs (the REST-API documentation on DevHub does this), quotes get HTML encoded, and since they are inside code blocks, the HTML is never rendered.

Current example https://developer.wordpress.org/rest-api/extending-the-rest-api/routes-and-endpoints/

Attachments (1)

Screen Shot 2017-12-07 at 12.53.23.png (147.6 KB) - added by Rahmohn 7 years ago.

Download all attachments as: .zip

Change History (3)

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


7 years ago

#2 @coffee2code
7 years ago

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

In 6258:

developer.wordpress.org: Set global post object to explanation post while obtaining explanation.

Negates need for explicitly decoding HTML entities in code blocks, which was also inadvertantly (and unnecessarily) being applied to REST API examples.

Fixes #3292.

Note: See TracTickets for help on using tickets.