Fossil SCM
Documented in /md_rules that HTML comments are disallowed under the "safe HTML" rules even though they pass the MD processor.
Commit
ea92c2bf9fe6e82ca8df7f2c78036800e0cf4306846ad474b980350177189f74
Parent
6436ecf91132f81…
1 file changed
+2
-1
+2
-1
| --- src/markdown.md | ||
| +++ src/markdown.md | ||
| @@ -224,11 +224,12 @@ | ||
| 224 | 224 | |
| 225 | 225 | ## Miscellaneous ## |
| 226 | 226 | |
| 227 | 227 | > * In-line images are made using **\!\[alt-text\]\(image-URL\)**. |
| 228 | 228 | > * Use HTML for advanced formatting; see [Safe HTML](#safe-html) above. |
| 229 | -> * **\<!--** HTML-style comments **-->** are supported. | |
| 229 | +> * **\<!--** HTML-style comments **-->** are allowed through only when | |
| 230 | +> the safe-HTML rules are bypassed. | |
| 230 | 231 | > * Escape special characters (ex: **\[** **\(** **\|** **\***) |
| 231 | 232 | > using backslash (ex: **\\\[** **\\\(** **\\\|** **\\\***). |
| 232 | 233 | > * A line consisting of **---**, **\*\*\***, or **\_\_\_** is a horizontal |
| 233 | 234 | > rule. Spaces and extra **-**/**\***/**_** are allowed. |
| 234 | 235 | > * Paragraphs enclosed in **\<html\>...\</html\>** is passed through unchanged. |
| 235 | 236 |
| --- src/markdown.md | |
| +++ src/markdown.md | |
| @@ -224,11 +224,12 @@ | |
| 224 | |
| 225 | ## Miscellaneous ## |
| 226 | |
| 227 | > * In-line images are made using **\!\[alt-text\]\(image-URL\)**. |
| 228 | > * Use HTML for advanced formatting; see [Safe HTML](#safe-html) above. |
| 229 | > * **\<!--** HTML-style comments **-->** are supported. |
| 230 | > * Escape special characters (ex: **\[** **\(** **\|** **\***) |
| 231 | > using backslash (ex: **\\\[** **\\\(** **\\\|** **\\\***). |
| 232 | > * A line consisting of **---**, **\*\*\***, or **\_\_\_** is a horizontal |
| 233 | > rule. Spaces and extra **-**/**\***/**_** are allowed. |
| 234 | > * Paragraphs enclosed in **\<html\>...\</html\>** is passed through unchanged. |
| 235 |
| --- src/markdown.md | |
| +++ src/markdown.md | |
| @@ -224,11 +224,12 @@ | |
| 224 | |
| 225 | ## Miscellaneous ## |
| 226 | |
| 227 | > * In-line images are made using **\!\[alt-text\]\(image-URL\)**. |
| 228 | > * Use HTML for advanced formatting; see [Safe HTML](#safe-html) above. |
| 229 | > * **\<!--** HTML-style comments **-->** are allowed through only when |
| 230 | > the safe-HTML rules are bypassed. |
| 231 | > * Escape special characters (ex: **\[** **\(** **\|** **\***) |
| 232 | > using backslash (ex: **\\\[** **\\\(** **\\\|** **\\\***). |
| 233 | > * A line consisting of **---**, **\*\*\***, or **\_\_\_** is a horizontal |
| 234 | > rule. Spaces and extra **-**/**\***/**_** are allowed. |
| 235 | > * Paragraphs enclosed in **\<html\>...\</html\>** is passed through unchanged. |
| 236 |