Fossil SCM

Added missing quotes around script nonce in skin example.

stephan 2019-12-17 16:49 trunk
Commit 8664930277065985fff6773dd2135fb719754089e8d593a033186650e7d12d26
1 file changed +1 -1
--- www/customskin.md
+++ www/customskin.md
@@ -25,11 +25,11 @@
2525
And the footer looks like this:
2626
2727
<div class="footer">
2828
... skin-specific stuff here ...
2929
</div>
30
- <script nonce=$nonce>
30
+ <script nonce="$<nonce>">
3131
<th1>styleScript</th1>
3232
</script>
3333
3434
Notice that there are no `<html>` or `<head>` elements in the header,
3535
nor is there an `</html>` closing tag in the footer. Fossil generates
3636
--- www/customskin.md
+++ www/customskin.md
@@ -25,11 +25,11 @@
25 And the footer looks like this:
26
27 <div class="footer">
28 ... skin-specific stuff here ...
29 </div>
30 <script nonce=$nonce>
31 <th1>styleScript</th1>
32 </script>
33
34 Notice that there are no `<html>` or `<head>` elements in the header,
35 nor is there an `</html>` closing tag in the footer. Fossil generates
36
--- www/customskin.md
+++ www/customskin.md
@@ -25,11 +25,11 @@
25 And the footer looks like this:
26
27 <div class="footer">
28 ... skin-specific stuff here ...
29 </div>
30 <script nonce="$<nonce>">
31 <th1>styleScript</th1>
32 </script>
33
34 Notice that there are no `<html>` or `<head>` elements in the header,
35 nor is there an `</html>` closing tag in the footer. Fossil generates
36

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button