← Community
bugopen

Studio's module detail page renders HTML entities in the description instead of apostrophes

ShwetaShweta#18d ago · 25 views
affected: station-v1.5.0

Reproduction steps:

  1. Publish or install a module whose module.json description contains a plain

apostrophe.

  1. Open Studio -> Modules -> the module's detail page.

Expected: the apostrophe renders as an apostrophe.

Actual: it renders as the literal entity. My description shows
"WHO IT'S FOR" and "who changed this client record, and who approved it'",
in nine places.

The source data is clean. Checked directly against the installed manifest:

literal ' in manifest: False
plain apostrophes: 9

So the description is being HTML-escaped and then inserted as text rather than
as HTML, or escaped twice. The marketplace listing page renders the same
description correctly, so it is specific to Studio's module view.

Impact: cosmetic, but it is the page a buyer lands on after installing, and it
affects any publisher whose description contains an apostrophe.

Station version (railcall version): station-v1.5.0
Module slug + version: shweta/zoho-crm v0.9.1

0 replies

Sign in to reply.