Fossil SCM

Removed documentation of the nonce="$NONCE" feature in www/embeddeddoc.wiki, removed as part of [8264fd75].

wyoung 2019-08-20 00:37 server-docs
Commit d55f6b1501da3414e8c600bb20069c79fd288f1746f71ec0fdeb06cb17ce89e8
1 file changed +1 -12
--- www/embeddeddoc.wiki
+++ www/embeddeddoc.wiki
@@ -122,22 +122,11 @@
122122
As you can see, this happens for all source document types that end up
123123
rendering as HTML, not just source documents in the HTML
124124
<tt>fossil-doc</tt> format described at the end of the prior section.
125125
126126
127
-<h3>2. $NONCE</h3>
128
-
129
-If you put the string <tt>nonce="$NONCE"</tt> or <tt>nonce='$NONCE'</tt>
130
-anywhere in your document, the server's per-page CSP nonce value is
131
-substituted into the document at that point. This is most useful in
132
-combination with the HTML embedded doc type when using
133
-<tt>&lt;script&gt;</tt> and <tt>&lt;style&gt;</tt> tags to allow that
134
-tag to be accepted by Fossil's default
135
-[https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP | CSP settings].
136
-
137
-
138
-<h3>3. TH1 Documents</h3>
127
+<h3>2. TH1 Documents</h3>
139128
140129
Fossil will substitute the value of [./th1.md | TH1 expressions] within
141130
<tt>{</tt> curly braces <tt>}</tt> into the output HTML if you have
142131
configured it with the <tt>--with-th1-docs</tt> option, which is
143132
disabled by default.
144133
--- www/embeddeddoc.wiki
+++ www/embeddeddoc.wiki
@@ -122,22 +122,11 @@
122 As you can see, this happens for all source document types that end up
123 rendering as HTML, not just source documents in the HTML
124 <tt>fossil-doc</tt> format described at the end of the prior section.
125
126
127 <h3>2. $NONCE</h3>
128
129 If you put the string <tt>nonce="$NONCE"</tt> or <tt>nonce='$NONCE'</tt>
130 anywhere in your document, the server's per-page CSP nonce value is
131 substituted into the document at that point. This is most useful in
132 combination with the HTML embedded doc type when using
133 <tt>&lt;script&gt;</tt> and <tt>&lt;style&gt;</tt> tags to allow that
134 tag to be accepted by Fossil's default
135 [https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP | CSP settings].
136
137
138 <h3>3. TH1 Documents</h3>
139
140 Fossil will substitute the value of [./th1.md | TH1 expressions] within
141 <tt>{</tt> curly braces <tt>}</tt> into the output HTML if you have
142 configured it with the <tt>--with-th1-docs</tt> option, which is
143 disabled by default.
144
--- www/embeddeddoc.wiki
+++ www/embeddeddoc.wiki
@@ -122,22 +122,11 @@
122 As you can see, this happens for all source document types that end up
123 rendering as HTML, not just source documents in the HTML
124 <tt>fossil-doc</tt> format described at the end of the prior section.
125
126
127 <h3>2. TH1 Documents</h3>
 
 
 
 
 
 
 
 
 
 
 
128
129 Fossil will substitute the value of [./th1.md | TH1 expressions] within
130 <tt>{</tt> curly braces <tt>}</tt> into the output HTML if you have
131 configured it with the <tt>--with-th1-docs</tt> option, which is
132 disabled by default.
133

Keyboard Shortcuts

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