Fossil SCM
Removed documentation of the nonce="$NONCE" feature in www/embeddeddoc.wiki, removed as part of [8264fd75].
Commit
d55f6b1501da3414e8c600bb20069c79fd288f1746f71ec0fdeb06cb17ce89e8
Parent
461c8f06fc9a001…
1 file changed
+1
-12
+1
-12
| --- www/embeddeddoc.wiki | ||
| +++ www/embeddeddoc.wiki | ||
| @@ -122,22 +122,11 @@ | ||
| 122 | 122 | As you can see, this happens for all source document types that end up |
| 123 | 123 | rendering as HTML, not just source documents in the HTML |
| 124 | 124 | <tt>fossil-doc</tt> format described at the end of the prior section. |
| 125 | 125 | |
| 126 | 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><script></tt> and <tt><style></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> | |
| 139 | 128 | |
| 140 | 129 | Fossil will substitute the value of [./th1.md | TH1 expressions] within |
| 141 | 130 | <tt>{</tt> curly braces <tt>}</tt> into the output HTML if you have |
| 142 | 131 | configured it with the <tt>--with-th1-docs</tt> option, which is |
| 143 | 132 | disabled by default. |
| 144 | 133 |
| --- 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><script></tt> and <tt><style></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 |