Edge Delivery Services: Preventing icon shortcut processing in technical content

✨ This content is AI generated and could be inaccurate. Generative AI Terms

This article describes how to avoid unwanted icon span conversions when using patterns in technical content with Edge Delivery Services.

Description description

Environment

Adobe Experience Manager (AEM) Edge Delivery Services (all versions)

Symptoms

Technical content containing text in the format :word: (such as :dns:, :db8:, :ldap:) is automatically replaced by Edge Delivery Services with an icon span (for example, <span class="icon icon-word">) and attempts to load /icons/word.svg. If the SVG does not exist, the original text disappears and a broken image icon appears. This affects log queries, IPv6 addresses, code samples, and other technical text where colon-separated patterns are common.

Cause

Edge Delivery Services is designed to interpret :word: patterns as icon shortcuts. Only text formatted as code is excluded from this processing. There is currently no site-level configuration to disable this feature globally.

Resolution resolution

Follow the steps below to resolve the issue.

  1. Format technical text as code.

    • In your source content, apply inline code formatting (such as backticks or CMS-specific formatting) to any technical text containing colons or patterns like :word:.

    • For multi-line samples, use a code block format.

    • Example:

      • Inline code: :dns:
      • Code block: source="ib:dns:query:top_rpz_hit"
  2. Preview and publish.

    • After updating the formatting, preview the affected page to confirm that the text displays as expected, without icon spans or broken images.
    • Publish the changes once verified.
  3. Remove client-side workarounds.

    • If you previously implemented JavaScript workarounds to revert icon spans, these can be removed after the content is correctly formatted.
  4. Verify the result.

    • Ensure that technical text displays correctly and is not replaced by icon spans or broken images.
recommendation-more-help
experience-cloud-kcs-help-kbarticles