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].
Commit
1d276f7b234440d525bd55da35e4aa024d7dbb2473d765482f67d2de7ad6246c
Parent
a6477bca6540cde…
2 files changed
+7
+8
+7
| --- www/defcsp.md | ||
| +++ www/defcsp.md | ||
| @@ -18,10 +18,17 @@ | ||
| 18 | 18 | process scans the source code for potential injection vulnerabilities |
| 19 | 19 | and refuses to compile if any problems are found. |
| 20 | 20 | However, CSP provides an additional layer of defense against undetected |
| 21 | 21 | bugs that might lead to a vulnerability. |
| 22 | 22 | |
| 23 | +<style> | |
| 24 | + div.content pre { | |
| 25 | + background: #cccccc; | |
| 26 | + padding: 0.25em; | |
| 27 | + } | |
| 28 | +</style> | |
| 29 | + | |
| 23 | 30 | ## The Default Restrictions |
| 24 | 31 | |
| 25 | 32 | The default CSP used by Fossil is as follows: |
| 26 | 33 | |
| 27 | 34 | <pre> |
| 28 | 35 |
| --- 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 |
+8
| --- www/webui.wiki | ||
| +++ www/webui.wiki | ||
| @@ -31,10 +31,18 @@ | ||
| 31 | 31 | As an example of how useful this web interface can be, |
| 32 | 32 | the entire [./index.wiki | Fossil website], |
| 33 | 33 | including the document you are now reading, |
| 34 | 34 | is rendered using the Fossil web interface, with no enhancements, |
| 35 | 35 | and little customization. |
| 36 | + | |
| 37 | +<style> | |
| 38 | + div.content pre { | |
| 39 | + background: #cccccc; | |
| 40 | + padding: 0.25em; | |
| 41 | + } | |
| 42 | +</style> | |
| 43 | + | |
| 36 | 44 | |
| 37 | 45 | <blockquote> |
| 38 | 46 | <b>Key point:</b> <i>The Fossil website is just a running instance |
| 39 | 47 | of Fossil! |
| 40 | 48 | </blockquote> |
| 41 | 49 |
| --- 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 |