Nymbo commited on
Commit
c15832c
·
verified ·
1 Parent(s): fef0301

ASCII-only header comment: multibyte chars before <head> made HF inject its script inside the <html> tag, breaking the page head

Browse files
Files changed (1) hide show
  1. index.html +4 -4
index.html CHANGED
@@ -9,11 +9,11 @@
9
  - Single-file Micro-App (no build step, no local assets).
10
  - In-line comments explain each section in plain language.
11
  - Title fetching is best-effort: many sites block cross-origin reads (CORS).
12
- • We first try a normal fetch.
13
- • If that fails and the "Use proxy" option is ON, we fall back to https://r.jina.ai/<URL>
14
  which returns a readability-friendly text version that often contains the page title.
15
- • We sanitize titles to strip "Title:" and leading headings/bullets.
16
- • If everything fails, we fall back to the URL's hostname as the title.
17
  -->
18
  <html lang="en">
19
  <head>
 
9
  - Single-file Micro-App (no build step, no local assets).
10
  - In-line comments explain each section in plain language.
11
  - Title fetching is best-effort: many sites block cross-origin reads (CORS).
12
+ - We first try a normal fetch.
13
+ - If that fails and the "Use proxy" option is ON, we fall back to https://r.jina.ai/<URL>
14
  which returns a readability-friendly text version that often contains the page title.
15
+ - We sanitize titles to strip "Title:" and leading headings/bullets.
16
+ - If everything fails, we fall back to the URL's hostname as the title.
17
  -->
18
  <html lang="en">
19
  <head>