WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 months ago

#36095 closed defect (bug) (wontfix)

<xmp> tag disapper after switch to Visual view

Reported by: liyangddd Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.4.2
Component: General Keywords:
Focuses: Cc:

Description

Hi There

I tried to put some XML code in my website and Edit Page under 'Text'. In order to show the <> tags, I put <xmp> tag, but when I switch to 'Visual' and come back. The <xmp> tags are gone and the entire XML <> tags disapperred

Attachments (1)

xmp.docx (11.8 KB) - added by liyangddd 4 years ago.
<XMP> example

Download all attachments as: .zip

Change History (3)

@liyangddd
4 years ago

<XMP> example

This ticket was mentioned in Slack in #core by noisysocks. View the logs.


4 months ago

#2 @talldanwp
4 months ago

  • Resolution set to wontfix
  • Status changed from new to closed

Hi @liyangddd. Thanks for creating the ticket, and apologies that it's taken a while for a response.

XMP has been deprecated for quite some time (since HTML 3.2 in 1997 - https://developer.mozilla.org/en-US/docs/Web/HTML/Element/xmp), so this isn't a feature WordPress would support. It's also not entirely clear what the use-case is for using XML.

I'm closing this ticket as something that won't be addressed. I realise a lot of time has passed too, so it's likely you no longer have a requirement for this to be supported.

Note: See TracTickets for help on using tickets.