On Fri, Jun 26, 2009 at 5:35 PM, Sarah Reichelt<sarah.reich...@gmail.com> wrote: >> In your code, on the page "see script" >> >> <http://kenjikojima.com/Photo/GreatLawn/thumbnail.irev?file=thumbnail.ir >> ev> >> >> in the lines 22-23 you write: >> >> replace "<" with "<" in tScript >> replace ">" with ">" in tScript >> >> is there a typo? >> >> Nonetheless, that works -- and generating on the fly a code page is a >> great idea :-) > > > Those lines of code will be replacing < & > with their HTML entities > < and > > but the code display translates them back. I had the same problem. > > Andre has managed to get his script lister to show the entities, but I > haven't managed to work out how yet.
Worked it out... If you replace ampersands too, then the < and > entities will display correctly inside a <pre> tag. Not quite sure why this works, but it does, so instead of 2 replace lines, use these 3: replace "&" with "&" in tScript replace "<" with "<" in tScript replace ">" with ">" in tScript Cheers, Sarah _______________________________________________ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution