Skip to content

[7.17] change reporting usage of handlebars to @kbn/handlebars (#217778)#219545

Closed
pmuellr wants to merge 1 commit intoelastic:7.17from
pmuellr:backport/7.17/pr-217778
Closed

[7.17] change reporting usage of handlebars to @kbn/handlebars (#217778)#219545
pmuellr wants to merge 1 commit intoelastic:7.17from
pmuellr:backport/7.17/pr-217778

Conversation

@pmuellr
Copy link
Copy Markdown
Contributor

@pmuellr pmuellr commented Apr 29, 2025

Backport

This will backport the following commits from main to 7.17:

Questions ?

Please refer to the Backport tool documentation

…217778)

Change reporting's usage of `handlebars` to `@kbn/handlebars`. Also
added a test to ensure user input is HTML escaped (it always has been,
this just tests it).

There should be no change to the final rendered output, at all. These
changes only affect PDF and PNG reports, not CSV reports.

(cherry picked from commit 3b5e96a)

# Conflicts:
#	x-pack/platform/plugins/shared/screenshotting/server/browsers/chromium/templates/index.ts
#	x-pack/platform/plugins/shared/screenshotting/tsconfig.json
@pmuellr pmuellr requested a review from kibanamachine as a code owner April 29, 2025 12:58
@pmuellr pmuellr added the backport This PR is a backport of another PR label Apr 29, 2025
@pmuellr pmuellr enabled auto-merge (squash) April 29, 2025 12:58
@elasticmachine
Copy link
Copy Markdown
Contributor

elasticmachine commented Apr 29, 2025

⏳ Build in-progress, with failures

Failed CI Steps

Test Failures

  • [job] [logs] Default CI Group #9 / saved objects security only enabled _resolve_import_errors superuser "before all" hook for "should return 200 bad request [hiddentype/any] and conflict [isolatedtype/defaultspace-isolatedtype-id,globaltype/globaltype-id]"

History

@pmuellr
Copy link
Copy Markdown
Contributor Author

pmuellr commented Apr 29, 2025

Closing this backport. Handlebars was introduced in PR #130546 for 8.3, and not backported to 7.x, so no fix is needed.

@pmuellr pmuellr closed this Apr 29, 2025
auto-merge was automatically disabled April 29, 2025 18:14

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants