Skip to content

fix(mgr): image renderer scope for escapeHtmlAttr (#114) - #118

Merged
Ibochkarev merged 1 commit into
masterfrom
fix/114-escape-html-attr-scope
Jul 29, 2026
Merged

fix(mgr): image renderer scope for escapeHtmlAttr (#114)#118
Ibochkarev merged 1 commit into
masterfrom
fix/114-escape-html-attr-scope

Conversation

@Ibochkarev

Copy link
Copy Markdown
Member

Summary

  • Column renderer _renderImage called this._escapeHtmlAttr, but ExtJS does not bind grid scope → TypeError and broken newsletters grid.
  • Move escape helper to Sendex.utils.escapeHtmlAttr and call it from the renderer (same pattern as renderActions).

Test plan

  • Open Sendex → Newsletters with at least one row that has an image
  • Grid renders without console error
  • Image src still escapes & " < >

ExtJS column renderers run without the grid as this, so
this._escapeHtmlAttr threw and the newsletters grid failed to render.
@Ibochkarev
Ibochkarev merged commit 25ee193 into master Jul 29, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant