Commit 296a742
committed
fix(seo): emit literal \\u003c in JSON-LD, not a raw less-than
In JS source "\u003c" is the character "<", so the prior replace was a
no-op. Use "\\u003c" so the serialized payload contains the six-character
escape sequence and cannot close the script element early.
Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>1 parent 21076ec commit 296a742
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
0 commit comments