Documentation Source Text

Check-in [ca108712a2]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add HTML escapes back into requirement text when generating HTML in the requirements matrix.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: ca108712a2700ad4eed9f3c100ca3646034740b9
User & Date: drh 2009-12-31 16:06:16
Context
2009-12-31
18:30
Fix incorrect documentation concerning affinity of UNION, INTERSECT, and EXCEPT. check-in: 6fe30b1e8d user: drh tags: trunk
16:06
Add HTML escapes back into requirement text when generating HTML in the requirements matrix. check-in: ca108712a2 user: drh tags: trunk
15:51
Another patch needed for the ampersand-escape mapping. check-in: af45a586ba user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to matrix.tcl.

393
394
395
396
397
398
399
400

401
402
403
404
405
406
407
    #
    set abbrev [string range $reqno 0 12]
    puts $out "<pre>/* IMP: $abbrev */</pre>"
    if {[regexp {^syntax diagram } $reqtext]} {
      puts $out "<pre># EVIDENCE-OF: $abbrev -- $reqtext</pre>"
    } else {
      puts $out "<pre>"
      wrap_in_comment $out # "EVIDENCE-OF: $abbrev $reqtext"

      puts $out "</pre>"
    }

  }
  close $out
}








|
>







393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
    #
    set abbrev [string range $reqno 0 12]
    puts $out "<pre>/* IMP: $abbrev */</pre>"
    if {[regexp {^syntax diagram } $reqtext]} {
      puts $out "<pre># EVIDENCE-OF: $abbrev -- $reqtext</pre>"
    } else {
      puts $out "<pre>"
      wrap_in_comment $out # \
         "EVIDENCE-OF: $abbrev [string map {& &amp; < &lt; > &gt;} $reqtext]"
      puts $out "</pre>"
    }

  }
  close $out
}