Joshua Paine <jos...@letterblock.com> wrote:
> On Tue, 2009-12-08 at 23:58 +0000, Jeremy Cowgar wrote:
> > Any feedback on the below?
> 
> My only concern would be that in several languages, # is the
> everything-after-this-on-this-line-is-a-comment character. Probably
> there's no issue, but I'd just want to be sure it wouldn't end up
> corrupting code samples.
> 

Shouldn't as you should be wrapping code samples in:

<verbatim>

</verbatim>

and inside of that, nothing is parsed. For instance, a code sample of Tcl in 
normal pre tags is disasterous:

<pre>
# This sets a to equal 20 * 30
set a [expr 20 * 30]
</pre>

However, that same code properly inserted into the wiki is just fine:

<verbatim>
# This sets a to equal 20 * 30
set a [expr 20 * 30]
</verbatim>

Even before a change of adding numeric lists via #, the Tcl code is messed up 
in just a pre tag. However, in the verbatim tag, all is well.

Jeremy

_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to