Fossil SCM

Minor internal doc fixes.

stephan 2021-08-06 23:39 trunk
Commit b473ba079b71661a0bd48f82e94d208bab624d7acd7c3a29957212a1de2d867c
1 file changed +2 -2
--- src/wikiformat.c
+++ src/wikiformat.c
@@ -2767,11 +2767,11 @@
27672767
**
27682768
** 1. Remove any elements that are not on the AllowedMarkup list.
27692769
** (ex: <script>, <form>, etc.)
27702770
**
27712771
** 2. Remove any attributes that are not on the AllowedMarkup list.
2772
-** (ex: onload=, id=, etc.)
2772
+** (ex: onload=, etc.)
27732773
**
27742774
** 3. Omit any surplus close-tags. This prevents the script from
27752775
** terminating an <div> or similar in the outer context.
27762776
**
27772777
** 4. Insert additional close-tags as necessary so that any
@@ -2778,11 +2778,11 @@
27782778
** tag in the input that needs a close-tag has one. This
27792779
** prevents tags in the embedded script from affecting the
27802780
** display of content that follows this script in the enclosing
27812781
** context.
27822782
**
2783
-** This modifications are intended to make the generated HTML safe
2783
+** These modifications are intended to make the generated HTML safe
27842784
** to be embedded in a larger HTML document, such that the embedded
27852785
** HTML has no influence on the formatting and operation of the
27862786
** larger document.
27872787
**
27882788
** If safe-html is disabled, then this routine is a no-op.
27892789
--- 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

Keyboard Shortcuts

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