WordPress.org

Making WordPress.org

Opened 3 weeks ago

Closed 4 days ago

#3292 closed defect (fixed)

GitHub documentation sync creates HTML entities

Reported by: Clorith Owned by: 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 8 days ago.

Download all attachments as: .zip

Change History (3)

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


6 days ago

#2 @coffee2code
4 days 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.