Our TWiki installation predates STARTSECTION/ENDSECTION in TWiki. (We've since updated). Thus we have many instances of using INCLUDE.. pattern= to work around this lack of INCLUDE functionality.
I discovered something very odd while trying to troubleshoot an inclusion that was failing.
Here's a raw view of the TWiki page:
<!-- BEGIN_INCLUDE -->
* ops-announce is our primary *outbound* announcement list, used for communication *to* our supported clients
<!-- END_INCLUDE -->
But here's what a View Source of the rendered page shows in the Browser
<!-- <span class="twikiNewLink">BEGIN_INCLUDE<a title="Create this topic"
href="/edit/MyWeb/BEGIN_INCLUDE?topicparent=MyWeb.EmailManagement" rel="nofollow"><sup>?</sup></a></span> -->
<p /> <ul>
<li> ops-announce is our primary <strong>outbound</strong> announcement list,
used for communication <strong>to</strong> our supported clients.
<!-- <span class="twikiNewLink">END_INCLUDE<a title="Create this topic" h
ref="/edit/MyWeb/END_INCLUDE?topicparent=MyWeb.EmailManagement" rel="nofollow"><sup>?</sup></a></span> -->
It's one thing for TWiki to peek inside a comment foor things like * Set directives and other TWiki commands. But don't reformat the comment content in the process.
- 19 Jul 2007
This does not happen in any of my versions. It seems like TWiki is (mis)taking the underscore as a lower-case letter. Did you change any of the TWiki regexes?
TWiki is (almost) totally agnostic with regard to HTML syntax, so an attempt to make it recognize HTML comments would make the parser even more complex than it already is...
- 19 Jul 2007
Please re-open with more information - not reproducible as reported.
- 17 Sep 2007