Fossil SCM

Clarify the formatting rules for <verbatim>. Ticket [aee2a1a927f]

drh 2008-07-24 12:29 trunk
Commit 2c3ccaa0487b292edeb6d1889aec12d136f58ab7
1 file changed +5 -4
+5 -4
--- src/wiki.c
+++ src/wiki.c
@@ -605,14 +605,15 @@
605605
@ No other elements are allowed. All attributes are checked and
606606
@ only a few benign attributes are allowed on each element.
607607
@ In particular, any attributes that specify javascript or CSS
608608
@ are elided.</p></li>
609609
@ <li><p><b>Special Markup.</b>
610
- @ The &lt;verbatim&gt; tag disables all wiki and HTML markup
611
- @ up through the next &lt;/verbatim&gt;. The &lt;nowiki&gt; tag
612
- @ disables all wiki formatting rules through the matching
613
- @ &lt;/nowiki&gt; element.
610
+ @ The &lt;nowiki&gt; tag disables all wiki formatting rules
611
+ @ through the matching &lt;/nowiki&gt; element.
612
+ @ The &lt;verbatim&gt; tag works like &lt;pre&gt; with the addition
613
+ @ that it also disables all wiki and HTML markup
614
+ @ through the matching &lt;/verbatim&gt;.
614615
@ </ol>
615616
style_footer();
616617
}
617618
618619
/*
619620
--- src/wiki.c
+++ src/wiki.c
@@ -605,14 +605,15 @@
605 @ No other elements are allowed. All attributes are checked and
606 @ only a few benign attributes are allowed on each element.
607 @ In particular, any attributes that specify javascript or CSS
608 @ are elided.</p></li>
609 @ <li><p><b>Special Markup.</b>
610 @ The &lt;verbatim&gt; tag disables all wiki and HTML markup
611 @ up through the next &lt;/verbatim&gt;. The &lt;nowiki&gt; tag
612 @ disables all wiki formatting rules through the matching
613 @ &lt;/nowiki&gt; element.
 
614 @ </ol>
615 style_footer();
616 }
617
618 /*
619
--- src/wiki.c
+++ src/wiki.c
@@ -605,14 +605,15 @@
605 @ No other elements are allowed. All attributes are checked and
606 @ only a few benign attributes are allowed on each element.
607 @ In particular, any attributes that specify javascript or CSS
608 @ are elided.</p></li>
609 @ <li><p><b>Special Markup.</b>
610 @ The &lt;nowiki&gt; tag disables all wiki formatting rules
611 @ through the matching &lt;/nowiki&gt; element.
612 @ The &lt;verbatim&gt; tag works like &lt;pre&gt; with the addition
613 @ that it also disables all wiki and HTML markup
614 @ through the matching &lt;/verbatim&gt;.
615 @ </ol>
616 style_footer();
617 }
618
619 /*
620

Keyboard Shortcuts

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