Opened 6 years ago
Closed 6 years ago
#4044 closed enhancement (fixed)
Theme Handbook: Code example display incorrectly
Reported by: | mukesh27 | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Handbooks | Keywords: | has-screenshots |
Cc: |
Description
In Theme Handbook article "Custom Post Type Template Files" block "Search in Custom Post Types" system shows & instead or & and > instead of > that needs to fix.
Attachments (1)
Change History (5)
#3
@
6 years ago
#4396 compiled a list of these: https://docs.google.com/spreadsheets/d/1Fd5lSwEm5otB3kEuZ7cFtusqm6RHXhOTwVxSl2TNoCA/edit?usp=sharing
#4
@
6 years ago
- Keywords needs-patch removed
- Resolution set to fixed
- Status changed from new to closed
This issue was fixed generally in [8843] via #4457. However, a number of the pages listed in the Google doc above had formatting issues resulting from partial conversion to blocks. I verified that those listed pages were fixed and fixed them if they weren't.
Feel free to reopen or open a new bug if the problem crops up again or elsewhere.
Note: See
TracTickets for help on using
tickets.
There seems to be a few things causing problems here.
Gutenberg Classic component will convert&
into&
recursively upon focusing and defocusing (Second focus will convert it to&
, etc)<code>
having line breaks<code>[php]...[/php]</code>
rather than the<pre>[php]...
as currently used.I suspect the syntax highlighting plugin has had a change here which is what's causing the issues..
I've fixed this page manually by using the 'Edit in HTML mode' of the Gutenberg Editor (NOT edit the classic block in HTML mode) but it seems to affect a lot of the pages.
edit: 1 above appears not to be Gutenberg, but rather an interaction on the handbooks, so probably a plugin.