Fossil SCM

Comment updates that should have been in the previous check-in, but I didn't press the "Save" button on my editor, and I failed to adequately review the changes before committed - I should follow my own checklists...

drh 2019-12-18 15:19 trunk
Commit c865e1a0fcf3e15edb567a3dc1b7d03957de3c8cd547d41d78daf8121d77a03c
1 file changed +9 -4
+9 -4
--- src/doc.c
+++ src/doc.c
@@ -541,15 +541,20 @@
541541
542542
/*
543543
** Transfer content to the output. During the transfer, when text of
544544
** the following form is seen:
545545
**
546
-** href="$ROOT/
547
-** action="$ROOT/
546
+** href="$ROOT/..."
547
+** action="$ROOT/..."
548
+** href=".../doc/$SELF/..."
549
+**
550
+** Convert $ROOT to the root URI of the repository, and $SELF to the
551
+** version number of the /doc/ document currently being displayed (if any).
552
+** Allow ' in place of " and any case for href or action.
548553
**
549
-** Convert $ROOT to the root URI of the repository. Allow ' in place of "
550
-** and any case for href or action.
554
+** Efforts are made to limit this translation to cases where the text is
555
+** fully contained with an HTML markup element.
551556
*/
552557
void convert_href_and_output(Blob *pIn){
553558
int i, base;
554559
int n = blob_size(pIn);
555560
char *z = blob_buffer(pIn);
556561
--- src/doc.c
+++ src/doc.c
@@ -541,15 +541,20 @@
541
542 /*
543 ** Transfer content to the output. During the transfer, when text of
544 ** the following form is seen:
545 **
546 ** href="$ROOT/
547 ** action="$ROOT/
 
 
 
 
 
548 **
549 ** Convert $ROOT to the root URI of the repository. Allow ' in place of "
550 ** and any case for href or action.
551 */
552 void convert_href_and_output(Blob *pIn){
553 int i, base;
554 int n = blob_size(pIn);
555 char *z = blob_buffer(pIn);
556
--- src/doc.c
+++ src/doc.c
@@ -541,15 +541,20 @@
541
542 /*
543 ** Transfer content to the output. During the transfer, when text of
544 ** the following form is seen:
545 **
546 ** href="$ROOT/..."
547 ** action="$ROOT/..."
548 ** href=".../doc/$SELF/..."
549 **
550 ** Convert $ROOT to the root URI of the repository, and $SELF to the
551 ** version number of the /doc/ document currently being displayed (if any).
552 ** Allow ' in place of " and any case for href or action.
553 **
554 ** Efforts are made to limit this translation to cases where the text is
555 ** fully contained with an HTML markup element.
556 */
557 void convert_href_and_output(Blob *pIn){
558 int i, base;
559 int n = blob_size(pIn);
560 char *z = blob_buffer(pIn);
561

Keyboard Shortcuts

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