Fossil SCM

Cut a verbose addition from the /wiki_rules doc

wyoung 2026-06-21 01:18 UTC safe-html-extensions
Commit 877e70c7b409814f6d8a117891dbcfd15c06c206c9d7d2c5aeb6ef9f932fea4c
1 file changed -9
--- src/wiki.wiki
+++ src/wiki.wiki
@@ -74,19 +74,10 @@
7474
There are two non-standard elements available: <verbatim> and
7575
<nowiki>. No other elements are allowed.
7676
All attributes are checked and only a few benign attributes are
7777
allowed on each element. In particular, any attributes that specify
7878
javascript or CSS are elided.
79
- Use &lt;picture&gt; and &lt;source&gt; with <tt>type=</tt> and
80
- <tt>srcset=</tt> to offer WebP or AVIF images with a JPEG or PNG
81
- fallback, for example:
82
- <pre>&lt;picture&gt;
83
- &lt;source type="image/webp" srcset="/raw/doc/trunk/www/hero.webp"&gt;
84
- &lt;img src="/raw/doc/trunk/www/hero.jpg" alt="Diagram"&gt;
85
-&lt;/picture&gt;</pre>
86
- A single-format image such as WebP may also be referenced directly
87
- with &lt;img src="..."&gt;.
8879
8980
7. <b>Special Markup.</b>
9081
The &lt;nowiki&gt; tag disables all wiki formatting rules through
9182
the matching &lt;/nowiki&gt; element. The &lt;verbatim&gt; tag works
9283
like &lt;pre&gt; with the addition that it also disables all wiki
9384
--- src/wiki.wiki
+++ src/wiki.wiki
@@ -74,19 +74,10 @@
74 There are two non-standard elements available: &lt;verbatim&gt; and
75 &lt;nowiki&gt;. No other elements are allowed.
76 All attributes are checked and only a few benign attributes are
77 allowed on each element. In particular, any attributes that specify
78 javascript or CSS are elided.
79 Use &lt;picture&gt; and &lt;source&gt; with <tt>type=</tt> and
80 <tt>srcset=</tt> to offer WebP or AVIF images with a JPEG or PNG
81 fallback, for example:
82 <pre>&lt;picture&gt;
83 &lt;source type="image/webp" srcset="/raw/doc/trunk/www/hero.webp"&gt;
84 &lt;img src="/raw/doc/trunk/www/hero.jpg" alt="Diagram"&gt;
85 &lt;/picture&gt;</pre>
86 A single-format image such as WebP may also be referenced directly
87 with &lt;img src="..."&gt;.
88
89 7. <b>Special Markup.</b>
90 The &lt;nowiki&gt; tag disables all wiki formatting rules through
91 the matching &lt;/nowiki&gt; element. The &lt;verbatim&gt; tag works
92 like &lt;pre&gt; with the addition that it also disables all wiki
93
--- src/wiki.wiki
+++ src/wiki.wiki
@@ -74,19 +74,10 @@
74 There are two non-standard elements available: &lt;verbatim&gt; and
75 &lt;nowiki&gt;. No other elements are allowed.
76 All attributes are checked and only a few benign attributes are
77 allowed on each element. In particular, any attributes that specify
78 javascript or CSS are elided.
 
 
 
 
 
 
 
 
 
79
80 7. <b>Special Markup.</b>
81 The &lt;nowiki&gt; tag disables all wiki formatting rules through
82 the matching &lt;/nowiki&gt; element. The &lt;verbatim&gt; tag works
83 like &lt;pre&gt; with the addition that it also disables all wiki
84

Keyboard Shortcuts

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