@@ -54,40 +54,23 @@ <h2 id="main">{{ .title }}</h2>
5454 </ ul >
5555 {{ end }}
5656
57- < blockquote class ="alert alert-warning ">
58- < p class ="alert-heading ">
59- ⚠️ Warning - The ZAP releases are currently unsigned
60- </ p >
61- < div class ="alert-content ">
62- < p >
63- On < strong > Windows</ strong > , you will see a message like:
64- < code >
65- ZAP_<version>_windows.exe isn't commonly downloaded.
66- Make sure you trust ZAP_<version>_windows.exe before you open it.
67- </ code > < br >
68- To circumvent this warning, you would need to click on < strong > ...</ strong > and then < strong > Keep</ strong > ,
69- then < strong > Show more</ strong > and then < strong > Keep anyway</ strong > .
70- < p >
71- On < strong > macOS</ strong > , you will see a message like:
72- < code > "ZAP.app" cannot be opened because the developer cannot be verified.</ code > < br >
73- To circumvent this warning, you would need to go to < strong > System Preferences</ strong > > < strong > Security & Privacy</ strong >
74- at the bottom of the dialog. You will see a message saying that "ZAP" was blocked.
75- Next to it, if you trust the downloaded installer, you can click < strong > Open anyway</ strong > .
76- </ div >
77- </ blockquote >
78-
79-
80-
81-
82-
83-
84-
85- {{ partial "blockquote-alert.html" (dict
86- "type" "warning"
87- "html" "< p > This is a < strong > caution</ strong > message.</ p > < p > It has multiple paragraphs.</ p > "
88- ) }}
89-
90-
57+ {{ $alertContent := add
58+ "On **Windows**, you will see a message like: "
59+ "`ZAP_< version > _windows.exe isn't commonly downloaded. Make sure you trust ZAP_< version > _windows.exe before you open it.`\n\n"
60+ "To circumvent this warning, you would need to click on **...** and then **Keep**, then "
61+ "**Show more** and then **Keep anyway**.\n\n"
62+ "On **macOS**, you will see a message like: "
63+ "`\"ZAP.app\" cannot be opened because the developer cannot be verified.`\n\n"
64+ "To circumvent this warning, you would need to go to **System Preferences** > **Security & Privacy** at "
65+ "the bottom of the dialog. You will see a message saying that\"ZAP\" was blocked. Next to it, if you trust the "
66+ "downloaded installer, you can click **Open anyway**."
67+ }}
68+
69+ {{ partial "blockquote-alert.html" (dict
70+ "type" "warning"
71+ "title" "Warning - The ZAP releases are currently unsigned"
72+ "content" $alertContent
73+ ) }}
9174 </ div >
9275 </ section >
9376
0 commit comments