mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 10:57:58 +00:00
docs: Correct “webapp” to “web app”.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
e3c570401e
commit
e015f3ed7d
@@ -284,12 +284,12 @@ export function clean_user_content_links(html) {
|
||||
for (const elt of content.querySelectorAll("a")) {
|
||||
// Ensure that all external links have target="_blank"
|
||||
// rel="opener noreferrer". This ensures that external links
|
||||
// never replace the Zulip webapp while also protecting
|
||||
// never replace the Zulip web app while also protecting
|
||||
// against reverse tabnapping attacks, without relying on the
|
||||
// correctness of how Zulip's Markdown processor generates links.
|
||||
//
|
||||
// Fragment links, which we intend to only open within the
|
||||
// Zulip webapp using our hashchange system, do not require
|
||||
// Zulip web app using our hashchange system, do not require
|
||||
// these attributes.
|
||||
const href = elt.getAttribute("href");
|
||||
let url;
|
||||
|
||||
Reference in New Issue
Block a user