Skip to content

Commit

Permalink
[Xsup 38544 ] DisplayHTMLWithImages no default color for background (#…
Browse files Browse the repository at this point in the history
…34985)

* added white background-color

* docker and rn
  • Loading branch information
bziser committed Jun 21, 2024
1 parent bcc615b commit 415b306
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
7 changes: 7 additions & 0 deletions Packs/CommonScripts/ReleaseNotes/1_15_15.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

#### Scripts

##### DisplayHTMLWithImages
- Updated the Docker image to: *demisto/python3:3.10.14.98889*.

- Resolved a situation where there was no default background, and now the default background is white.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ def main(args):
attachments = incident.get('attachment', {})
files = demisto.context().get('File', [])

html_body = f'<div style= "background-color: white;"> {html_body} </div>'

if 'src="cid' in html_body:
entry_id_list = get_entry_id_list(attachments, files)
html_body = create_html_with_images(html_body, entry_id_list)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ tags:
system: true
scripttarget: 0
fromversion: 6.5.0
dockerimage: demisto/python3:3.10.13.83255
dockerimage: demisto/python3:3.10.14.98889
tests:
- No tests (auto formatted)
2 changes: 1 addition & 1 deletion Packs/CommonScripts/pack_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Common Scripts",
"description": "Frequently used scripts pack.",
"support": "xsoar",
"currentVersion": "1.15.14",
"currentVersion": "1.15.15",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down

0 comments on commit 415b306

Please sign in to comment.