- Timestamp:
- 2014-03-13T14:34:48+13:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/runtime-src/src/recpt/pageaction.cpp
r23058 r28888 751 751 if (arg_p == "about") { 752 752 if (cinfo == NULL) { 753 disp.setmacro("cvariable", displayclass::defaultpackage, arg_c);753 disp.setmacro("cvariable", displayclass::defaultpackage, encodeForHTML(arg_c)); 754 754 disp.setmacro("content", arg_p, "<p>_textbadcollection_<p>"); 755 755 return; … … 797 797 798 798 if (cinfo == NULL) { 799 disp.setmacro("cvariable", displayclass::defaultpackage, arg_c);799 disp.setmacro("cvariable", displayclass::defaultpackage, encodeForHTML(arg_c)); 800 800 disp.setmacro("content", arg_p, "<p>_textbadcollection_<p>"); 801 801 return; … … 1009 1009 text_t &arg_p = args["p"]; 1010 1010 1011 textout << outconvert << disp << ("_" + arg_p+ ":header_\n")1012 << ("_" + arg_p+ ":content_\n")1013 << ("_" + arg_p+ ":footer_\n");1011 textout << outconvert << disp << ("_" + encodeForHTML(arg_p) + ":header_\n") 1012 << ("_" + encodeForHTML(arg_p) + ":content_\n") 1013 << ("_" + encodeForHTML(arg_p) + ":footer_\n"); 1014 1014 1015 1015 return true;
Note:
See TracChangeset
for help on using the changeset viewer.