Skip to content

Testimonial Rendering Gaps

Known SSR bugs in the Divi 5 testimonial module.

Quick Reference

What this documents: SSR rendering bugs in the Divi 5 testimonial module where content.author and content.jobTitle fields are silently dropped, and innerContent renders as plain text. Key data structures: content.author, content.jobTitle (not rendered), content.innerContent (plain text only, no HTML). Last verified: 2026-03-12

Author and JobTitle Fields Not Rendered

The wp:divi/testimonial block supports content.author and content.jobTitle fields in JSON:

{
  "content": {
    "author": {"desktop": {"value": "John Smith"}},
    "jobTitle": {"desktop": {"value": "CEO, Acme Corp"}},
    "innerContent": {"desktop": {"value": "Testimonial text here..."}}
  }
}

SSR renders ONLY the innerContent field. The author and jobTitle values exist in the JSON but produce no HTML output — no <cite>, <span>, or any other element.

innerContent Is Plain Text, Not HTML

Unlike text blocks (which use unicode-encoded HTML), testimonial innerContent renders as plain text. Unicode-encoded HTML tags produce literal escape sequences on the page:

// Renders as visible text on the page:
\u003cp style=\u0022font-weight:bold\u0022\u003eJohn Smith\u003c/p\u003e

Workaround

Append author attribution as plain text with an em dash:

"innerContent": {
  "desktop": {
    "value": "Great service and professional team.\n\n— John Smith, CEO, Acme Corp"
  }
}

Renders as:

Great service and professional team.

— John Smith, CEO, Acme Corp