docs: Correct “webapp” to “web app”.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2021-05-13 15:16:30 -07:00
committed by Tim Abbott
parent e3c570401e
commit e015f3ed7d
51 changed files with 104 additions and 104 deletions

View File

@@ -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;