[e-lang] Peculiar wiki code conversion bug

Mark S. Miller markm at cs.jhu.edu
Wed Dec 6 04:12:05 CST 2006


Walnut original html at <http://www.skyhunter.com/marcs/ewalnut.html#BuildGuards>:

     if (specimenBox.__respondsTo("offerContent", 0)) {
         # XXX Using __respondsTo/2 here is a kludge

where the second line above appears in red. In all further examples below, the 
text of the second line above will be abbreviated to "...".

html source for that section:
     if (specimenBox.__respondsTo("offerContent", 0)) {
         <font color="#ff0000">...</font>


Wiki html at 
<http://www2.deltamobile.com/wiki/Walnut/Advanced_Topics/Build_your_Own_Guards>
     if (specimenBox.__respondsTo("offerContent", 0)) {
         <font color="#FF0000">...</font>

view source on that html page:
     if (specimenBox.__respondsTo("offerContent", 0)) {
         &lt;font color="#FF0000"&gt;...&lt;/font&gt;

wiki markup:
     if (specimenBox.__respondsTo("offerContent", 0)) {
         </nowiki><font color="#FF0000"><nowiki>...</nowiki></font>


Is this easily fixed, or should I just manually fix all the cases I find? (At 
the moment, from incomplete automated testing, it looks like there may only be 
a moderate number of these.)

-- 
Text by me above is hereby placed in the public domain

     Cheers,
     --MarkM


More information about the e-lang mailing list