summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fe7ef1a)
raw | patch | inline | side by side (parent: fe7ef1a)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Thu, 7 Jun 2007 08:50:16 +0000 (08:50 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Thu, 7 Jun 2007 08:50:16 +0000 (08:50 +0000) |
src/extension/parameter.cpp | patch | blob | history |
index 66405e57ecd7e8efca9d4921152f3b8924e87f3a..50b90f71c6a1fee3c88069da0a21f85667edce16 100644 (file)
Glib::ustring *
ParamString::string (void)
{
- gchar * esc = g_strescape(_value, NULL);
- Glib::ustring escaped(esc);
- g_free(esc);
+ // FIXME: I think the string should NOT be escaped. Just put between "..."
+ // Otherwise \frac{1}{2} will become \\frac{1}{2} and then the LaTeX effect won't work....
+ //gchar * esc = g_strescape(_value, NULL);
+ Glib::ustring escaped(_value);
+ //g_free(esc);
#ifdef ESCAPE_DOLLAR_COMMANDLINE // escape the dollar sign
Glib::ustring::iterator i;