Inspectopedia Help

Content of the <code> element must be text-only

Detects any XML-like code inside the code tag.

Don't use any XML markup to highlight text within the code section. If you see legacy code using XML markup to set highlighting in the code snippet, use the intention to remove it.

If you need to put sources that can be recognized as XML code inside the code tag, use the CDATA section. There is a quick fix available for that.

Locating this inspection

By ID

Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.

WrsCodeElementMustBeText
Via Settings dialog

Path to the inspection settings via IntelliJ Platform IDE Settings dialog, when you need to adjust inspection settings directly from your IDE.

Settings or Preferences | Editor | Inspections | Writerside | Content validity

Inspection Details

By default bundled with:

Writerside 2024.1

Can be installed with plugin:

Writerside, 2024.04.241.15989.11

Last modified: 27 August 2024