Fossil SCM
Minor internal doc fixes.
Commit
b473ba079b71661a0bd48f82e94d208bab624d7acd7c3a29957212a1de2d867c
Parent
cdbf0bf179989a2…
1 file changed
+2
-2
+2
-2
| --- src/wikiformat.c | ||
| +++ src/wikiformat.c | ||
| @@ -2767,11 +2767,11 @@ | ||
| 2767 | 2767 | ** |
| 2768 | 2768 | ** 1. Remove any elements that are not on the AllowedMarkup list. |
| 2769 | 2769 | ** (ex: <script>, <form>, etc.) |
| 2770 | 2770 | ** |
| 2771 | 2771 | ** 2. Remove any attributes that are not on the AllowedMarkup list. |
| 2772 | -** (ex: onload=, id=, etc.) | |
| 2772 | +** (ex: onload=, etc.) | |
| 2773 | 2773 | ** |
| 2774 | 2774 | ** 3. Omit any surplus close-tags. This prevents the script from |
| 2775 | 2775 | ** terminating an <div> or similar in the outer context. |
| 2776 | 2776 | ** |
| 2777 | 2777 | ** 4. Insert additional close-tags as necessary so that any |
| @@ -2778,11 +2778,11 @@ | ||
| 2778 | 2778 | ** tag in the input that needs a close-tag has one. This |
| 2779 | 2779 | ** prevents tags in the embedded script from affecting the |
| 2780 | 2780 | ** display of content that follows this script in the enclosing |
| 2781 | 2781 | ** context. |
| 2782 | 2782 | ** |
| 2783 | -** This modifications are intended to make the generated HTML safe | |
| 2783 | +** These modifications are intended to make the generated HTML safe | |
| 2784 | 2784 | ** to be embedded in a larger HTML document, such that the embedded |
| 2785 | 2785 | ** HTML has no influence on the formatting and operation of the |
| 2786 | 2786 | ** larger document. |
| 2787 | 2787 | ** |
| 2788 | 2788 | ** If safe-html is disabled, then this routine is a no-op. |
| 2789 | 2789 |
| --- src/wikiformat.c | |
| +++ src/wikiformat.c | |
| @@ -2767,11 +2767,11 @@ | |
| 2767 | ** |
| 2768 | ** 1. Remove any elements that are not on the AllowedMarkup list. |
| 2769 | ** (ex: <script>, <form>, etc.) |
| 2770 | ** |
| 2771 | ** 2. Remove any attributes that are not on the AllowedMarkup list. |
| 2772 | ** (ex: onload=, id=, etc.) |
| 2773 | ** |
| 2774 | ** 3. Omit any surplus close-tags. This prevents the script from |
| 2775 | ** terminating an <div> or similar in the outer context. |
| 2776 | ** |
| 2777 | ** 4. Insert additional close-tags as necessary so that any |
| @@ -2778,11 +2778,11 @@ | |
| 2778 | ** tag in the input that needs a close-tag has one. This |
| 2779 | ** prevents tags in the embedded script from affecting the |
| 2780 | ** display of content that follows this script in the enclosing |
| 2781 | ** context. |
| 2782 | ** |
| 2783 | ** This modifications are intended to make the generated HTML safe |
| 2784 | ** to be embedded in a larger HTML document, such that the embedded |
| 2785 | ** HTML has no influence on the formatting and operation of the |
| 2786 | ** larger document. |
| 2787 | ** |
| 2788 | ** If safe-html is disabled, then this routine is a no-op. |
| 2789 |
| --- src/wikiformat.c | |
| +++ src/wikiformat.c | |
| @@ -2767,11 +2767,11 @@ | |
| 2767 | ** |
| 2768 | ** 1. Remove any elements that are not on the AllowedMarkup list. |
| 2769 | ** (ex: <script>, <form>, etc.) |
| 2770 | ** |
| 2771 | ** 2. Remove any attributes that are not on the AllowedMarkup list. |
| 2772 | ** (ex: onload=, etc.) |
| 2773 | ** |
| 2774 | ** 3. Omit any surplus close-tags. This prevents the script from |
| 2775 | ** terminating an <div> or similar in the outer context. |
| 2776 | ** |
| 2777 | ** 4. Insert additional close-tags as necessary so that any |
| @@ -2778,11 +2778,11 @@ | |
| 2778 | ** tag in the input that needs a close-tag has one. This |
| 2779 | ** prevents tags in the embedded script from affecting the |
| 2780 | ** display of content that follows this script in the enclosing |
| 2781 | ** context. |
| 2782 | ** |
| 2783 | ** These modifications are intended to make the generated HTML safe |
| 2784 | ** to be embedded in a larger HTML document, such that the embedded |
| 2785 | ** HTML has no influence on the formatting and operation of the |
| 2786 | ** larger document. |
| 2787 | ** |
| 2788 | ** If safe-html is disabled, then this routine is a no-op. |
| 2789 |