Before and after fix, left %\[\textgreater\]% right%BR%test text correctly produced:

left

\[\textgreater\]
right
test text

Before fix, left %\[>\]% right%BR%test text produced (now simulated):

left

\[>\text{right}\]
test text

Note the right is on the line with > and test text is centered, since the

/></div>
that should close the display environment had become
/&gt;</div>
instead.

Both work properly after applying the following fix supplied by Scott Hoge, which has been incorporated in rev 2.5:

At the numbered lines, remove the line with '-' and add the three lines with '+' to the LatexModePlugin.pm file

L503:        #remove any quotes in the string, so the alt tag doesn't break
L504:        $escaped =~ s/\"/&quot;/gso;
L505:        $escaped =~ s/\n/ /gso;
-        $escaped =~ s!(\u\w\l\w+\u\w)!<nop>$1!g;
+        $escaped =~ s!\&!\&amp\;!g;
+        $escaped =~ s!\>!\&gt\;!g;
+        $escaped =~ s!\<!\&lt\;!g;

Thanks, Scott!

-- ShaughanLavine - 13 Mar 2006

Topic revision: r58 - 05 Nov 2009 - 02:18:46 - TWikiGuest
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback