Documentation Source Text

Check-in [587b9b0128]
Login

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

Overview
Comment:Fix parsehtml so that it recognizes <tcl>...</tcl> as in-line markup.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 587b9b0128ef21d8bb03c06980ae95dfddb9151a
User & Date: drh 2016-09-12 18:46:28
Context
2016-09-12
18:59
Add the 3.14.2 hashes to the change log. check-in: d2267a9398 user: drh tags: trunk
18:46
Fix parsehtml so that it recognizes <tcl>...</tcl> as in-line markup. check-in: 587b9b0128 user: drh tags: trunk
18:10
Update the news for the 3.14.2 release. check-in: 3270d5018f user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to search/hdom.tcl.

92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
...
545
546
547
548
549
550
551
552
553
  
  # All inline tags.
  variable aInline
  foreach x {
    tt i b big small u
    em strong dfn code samp kbd var cite abbr acronym
    a img object br script map q sub sup span bdo
    input select textarea label button
  } { set aInline($x) 1 }

  variable aContentChecker
  set aContentChecker(p)        HtmlInlineContent
  set aContentChecker(th)       HtmlTableCellContent
  set aContentChecker(td)       HtmlTableCellContent
  set aContentChecker(tr)       HtmlTableRowContent
................................................................................
  # Create the document object command. 
  #
  proc $doc {method args} [subst -nocommands {
    uplevel ::hdom::document_method $doc [set method] [set args]
  }]
  return $doc
}









|







 







<
<
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
...
545
546
547
548
549
550
551


  
  # All inline tags.
  variable aInline
  foreach x {
    tt i b big small u
    em strong dfn code samp kbd var cite abbr acronym
    a img object br script map q sub sup span bdo
    input select textarea label button tcl
  } { set aInline($x) 1 }

  variable aContentChecker
  set aContentChecker(p)        HtmlInlineContent
  set aContentChecker(th)       HtmlTableCellContent
  set aContentChecker(td)       HtmlTableCellContent
  set aContentChecker(tr)       HtmlTableRowContent
................................................................................
  # Create the document object command. 
  #
  proc $doc {method args} [subst -nocommands {
    uplevel ::hdom::document_method $doc [set method] [set args]
  }]
  return $doc
}