From: <ka...@us...> - 2012-07-29 11:37:44
|
Revision: 13425 http://swig.svn.sourceforge.net/swig/?rev=13425&view=rev Author: kabbi Date: 2012-07-29 11:37:38 +0000 (Sun, 29 Jul 2012) Log Message: ----------- Forgot to escape special HTML-chars in JavaDocConverter Modified Paths: -------------- branches/gsoc2012-doxygen/Examples/test-suite/java/doxygen_translate_all_tags_runme.java branches/gsoc2012-doxygen/Examples/test-suite/java/doxygen_translate_runme.java branches/gsoc2012-doxygen/Source/DoxygenTranslator/src/JavaDocConverter.cpp Modified: branches/gsoc2012-doxygen/Examples/test-suite/java/doxygen_translate_all_tags_runme.java =================================================================== --- branches/gsoc2012-doxygen/Examples/test-suite/java/doxygen_translate_all_tags_runme.java 2012-07-28 09:19:23 UTC (rev 13424) +++ branches/gsoc2012-doxygen/Examples/test-suite/java/doxygen_translate_all_tags_runme.java 2012-07-29 11:37:38 UTC (rev 13425) @@ -111,10 +111,10 @@ " Warning: This is senseless! \n" + " This will only appear in XML \n" + " Here goes test of symbols: \n" + - " $ @ \\ & ~ < > # % \" . :: \n" + + " $ @ \\ & ~ < > # % " . :: \n" + " And here goes simple text \n" + ""); // and ask the parser to check comments for us System.exit(parser.check(wantedComments)); } -} \ No newline at end of file +} Modified: branches/gsoc2012-doxygen/Examples/test-suite/java/doxygen_translate_runme.java =================================================================== --- branches/gsoc2012-doxygen/Examples/test-suite/java/doxygen_translate_runme.java 2012-07-28 09:19:23 UTC (rev 13424) +++ branches/gsoc2012-doxygen/Examples/test-suite/java/doxygen_translate_runme.java 2012-07-29 11:37:38 UTC (rev 13425) @@ -138,7 +138,7 @@ " Warning: This is senseless! \n" + " \n" + " Here goes test of symbols: \n" + - " $ @ \\ & ~ < > # % \" . :: \n" + + " $ @ \\ & ~ < > # % " . :: \n" + " \n" + " And here goes simple text \n" + " \n" + @@ -146,4 +146,4 @@ // and ask the parser to check comments for us System.exit(parser.check(wantedComments)); } -} \ No newline at end of file +} Modified: branches/gsoc2012-doxygen/Source/DoxygenTranslator/src/JavaDocConverter.cpp =================================================================== --- branches/gsoc2012-doxygen/Source/DoxygenTranslator/src/JavaDocConverter.cpp 2012-07-28 09:19:23 UTC (rev 13424) +++ branches/gsoc2012-doxygen/Source/DoxygenTranslator/src/JavaDocConverter.cpp 2012-07-29 11:37:38 UTC (rev 13425) @@ -36,13 +36,13 @@ tagHandlers["$"] = make_pair(&JavaDocConverter::handleTagChar, ""); tagHandlers["@"] = make_pair(&JavaDocConverter::handleTagChar, ""); tagHandlers["\\"] = make_pair(&JavaDocConverter::handleTagChar, ""); - tagHandlers["<"] = make_pair(&JavaDocConverter::handleTagChar, ""); - tagHandlers[">"] = make_pair(&JavaDocConverter::handleTagChar, ""); - tagHandlers["&"] = make_pair(&JavaDocConverter::handleTagChar, ""); + tagHandlers["<"] = make_pair(&JavaDocConverter::handleTagChar, "<"); + tagHandlers[">"] = make_pair(&JavaDocConverter::handleTagChar, ">"); + tagHandlers["&"] = make_pair(&JavaDocConverter::handleTagChar, "&"); tagHandlers["#"] = make_pair(&JavaDocConverter::handleTagChar, ""); tagHandlers["%"] = make_pair(&JavaDocConverter::handleTagChar, ""); tagHandlers["~"] = make_pair(&JavaDocConverter::handleTagChar, ""); - tagHandlers["\""] = make_pair(&JavaDocConverter::handleTagChar, ""); + tagHandlers["\""] = make_pair(&JavaDocConverter::handleTagChar, """); tagHandlers["."] = make_pair(&JavaDocConverter::handleTagChar, ""); tagHandlers["::"] = make_pair(&JavaDocConverter::handleTagChar, ""); // these commands are stripped out This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |