jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brus...@apache.org
Subject svn commit: r1693824 - /jspwiki/trunk/jspwiki-war/src/main/java/org/apache/wiki/htmltowiki/XHtmlElementToWikiTranslator.java
Date Sun, 02 Aug 2015 20:16:49 GMT
Author: brushed
Date: Sun Aug  2 20:16:49 2015
New Revision: 1693824

URL: http://svn.apache.org/r1693824
Log:
Closing "%%" replaced by "/%" ; not all cases were covered.

Modified:
    jspwiki/trunk/jspwiki-war/src/main/java/org/apache/wiki/htmltowiki/XHtmlElementToWikiTranslator.java

Modified: jspwiki/trunk/jspwiki-war/src/main/java/org/apache/wiki/htmltowiki/XHtmlElementToWikiTranslator.java
URL: http://svn.apache.org/viewvc/jspwiki/trunk/jspwiki-war/src/main/java/org/apache/wiki/htmltowiki/XHtmlElementToWikiTranslator.java?rev=1693824&r1=1693823&r2=1693824&view=diff
==============================================================================
--- jspwiki/trunk/jspwiki-war/src/main/java/org/apache/wiki/htmltowiki/XHtmlElementToWikiTranslator.java
(original)
+++ jspwiki/trunk/jspwiki-war/src/main/java/org/apache/wiki/htmltowiki/XHtmlElementToWikiTranslator.java
Sun Aug  2 20:16:49 2015
@@ -453,13 +453,13 @@ public class XHtmlElementToWikiTranslato
                 {
                     m_out.print( "%%( text-decoration:underline; )" );
                     print( e );
-                    m_out.print( "%%" );
+                    m_out.print( "/%" );
                 }
                 else if( n.equals( "strike" ) )
                 {
                     m_out.print( "%%strike " );
                     print( e );
-                    m_out.print( "%%" );
+                    m_out.print( "/%" );
                     // NOTE: don't print a space before or after the double percents because
that can break words into two.
                     // For example: %%(color:red)ABC%%%%(color:green)DEF%% is different from
%%(color:red)ABC%% %%(color:green)DEF%%
                 }
@@ -467,13 +467,13 @@ public class XHtmlElementToWikiTranslato
                 {
                     m_out.print( "%%sup " );
                     print( e );
-                    m_out.print( "%%" );
+                    m_out.print( "/%" );
                 }
                 else if( n.equals( "sub" ) )
                 {
                     m_out.print( "%%sub " );
                     print( e );
-                    m_out.print( "%%" );
+                    m_out.print( "/%" );
                 }
                 else if( n.equals("dl") )
                 {



Mime
View raw message