Fossil SCM
Clarify the formatting rules for <verbatim>. Ticket [aee2a1a927f]
Commit
2c3ccaa0487b292edeb6d1889aec12d136f58ab7
Parent
f46fe42d6d07035…
1 file changed
+5
-4
+5
-4
| --- src/wiki.c | ||
| +++ src/wiki.c | ||
| @@ -605,14 +605,15 @@ | ||
| 605 | 605 | @ No other elements are allowed. All attributes are checked and |
| 606 | 606 | @ only a few benign attributes are allowed on each element. |
| 607 | 607 | @ In particular, any attributes that specify javascript or CSS |
| 608 | 608 | @ are elided.</p></li> |
| 609 | 609 | @ <li><p><b>Special Markup.</b> |
| 610 | - @ The <verbatim> tag disables all wiki and HTML markup | |
| 611 | - @ up through the next </verbatim>. The <nowiki> tag | |
| 612 | - @ disables all wiki formatting rules through the matching | |
| 613 | - @ </nowiki> element. | |
| 610 | + @ The <nowiki> tag disables all wiki formatting rules | |
| 611 | + @ through the matching </nowiki> element. | |
| 612 | + @ The <verbatim> tag works like <pre> with the addition | |
| 613 | + @ that it also disables all wiki and HTML markup | |
| 614 | + @ through the matching </verbatim>. | |
| 614 | 615 | @ </ol> |
| 615 | 616 | style_footer(); |
| 616 | 617 | } |
| 617 | 618 | |
| 618 | 619 | /* |
| 619 | 620 |
| --- 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 <verbatim> tag disables all wiki and HTML markup |
| 611 | @ up through the next </verbatim>. The <nowiki> tag |
| 612 | @ disables all wiki formatting rules through the matching |
| 613 | @ </nowiki> 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 <nowiki> tag disables all wiki formatting rules |
| 611 | @ through the matching </nowiki> element. |
| 612 | @ The <verbatim> tag works like <pre> with the addition |
| 613 | @ that it also disables all wiki and HTML markup |
| 614 | @ through the matching </verbatim>. |
| 615 | @ </ol> |
| 616 | style_footer(); |
| 617 | } |
| 618 | |
| 619 | /* |
| 620 |