Fossil SCM

This should demonstraite a behavior of inline STYLE tags. Notice gray background of <nowiki><pre></nowiki> elements in [/doc/demo-inline-style-tags/www/defcsp.md|www/defcsp.md] and the lack of it in [/doc/demo-inline-style-tags/www/webui.wiki|www/webui.wiki]. See forum [forum:/forumthread/69f475cf48|thread 69f475cf48].

george 2021-06-19 20:58 trunk
Commit 1d276f7b234440d525bd55da35e4aa024d7dbb2473d765482f67d2de7ad6246c
--- www/defcsp.md
+++ www/defcsp.md
@@ -18,10 +18,17 @@
1818
process scans the source code for potential injection vulnerabilities
1919
and refuses to compile if any problems are found.
2020
However, CSP provides an additional layer of defense against undetected
2121
bugs that might lead to a vulnerability.
2222
23
+<style>
24
+ div.content pre {
25
+ background: #cccccc;
26
+ padding: 0.25em;
27
+ }
28
+</style>
29
+
2330
## The Default Restrictions
2431
2532
The default CSP used by Fossil is as follows:
2633
2734
<pre>
2835
--- www/defcsp.md
+++ www/defcsp.md
@@ -18,10 +18,17 @@
18 process scans the source code for potential injection vulnerabilities
19 and refuses to compile if any problems are found.
20 However, CSP provides an additional layer of defense against undetected
21 bugs that might lead to a vulnerability.
22
 
 
 
 
 
 
 
23 ## The Default Restrictions
24
25 The default CSP used by Fossil is as follows:
26
27 <pre>
28
--- www/defcsp.md
+++ www/defcsp.md
@@ -18,10 +18,17 @@
18 process scans the source code for potential injection vulnerabilities
19 and refuses to compile if any problems are found.
20 However, CSP provides an additional layer of defense against undetected
21 bugs that might lead to a vulnerability.
22
23 <style>
24 div.content pre {
25 background: #cccccc;
26 padding: 0.25em;
27 }
28 </style>
29
30 ## The Default Restrictions
31
32 The default CSP used by Fossil is as follows:
33
34 <pre>
35
--- www/webui.wiki
+++ www/webui.wiki
@@ -31,10 +31,18 @@
3131
As an example of how useful this web interface can be,
3232
the entire [./index.wiki | Fossil website],
3333
including the document you are now reading,
3434
is rendered using the Fossil web interface, with no enhancements,
3535
and little customization.
36
+
37
+<style>
38
+ div.content pre {
39
+ background: #cccccc;
40
+ padding: 0.25em;
41
+ }
42
+</style>
43
+
3644
3745
<blockquote>
3846
<b>Key point:</b> <i>The Fossil website is just a running instance
3947
of Fossil!
4048
</blockquote>
4149
--- www/webui.wiki
+++ www/webui.wiki
@@ -31,10 +31,18 @@
31 As an example of how useful this web interface can be,
32 the entire [./index.wiki | Fossil website],
33 including the document you are now reading,
34 is rendered using the Fossil web interface, with no enhancements,
35 and little customization.
 
 
 
 
 
 
 
 
36
37 <blockquote>
38 <b>Key point:</b> <i>The Fossil website is just a running instance
39 of Fossil!
40 </blockquote>
41
--- www/webui.wiki
+++ www/webui.wiki
@@ -31,10 +31,18 @@
31 As an example of how useful this web interface can be,
32 the entire [./index.wiki | Fossil website],
33 including the document you are now reading,
34 is rendered using the Fossil web interface, with no enhancements,
35 and little customization.
36
37 <style>
38 div.content pre {
39 background: #cccccc;
40 padding: 0.25em;
41 }
42 </style>
43
44
45 <blockquote>
46 <b>Key point:</b> <i>The Fossil website is just a running instance
47 of Fossil!
48 </blockquote>
49

Keyboard Shortcuts

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