maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From denn...@apache.org
Subject [maven-doxia] 02/03: [DOXIA-578] Boxed verbatim sections uses incorrect Confluence syntax.
Date Thu, 22 Nov 2018 12:06:44 GMT
This is an automated email from the ASF dual-hosted git repository.

dennisl pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-doxia.git

commit 0b50239c05906390efc66f7522f57bd87fc7586e
Author: Dennis Lundberg <dennisl@apache.org>
AuthorDate: Thu Nov 22 12:57:56 2018 +0100

    [DOXIA-578] Boxed verbatim sections uses incorrect Confluence syntax.
---
 .../java/org/apache/maven/doxia/module/confluence/ConfluenceSink.java   | 2 +-
 .../org/apache/maven/doxia/module/confluence/ConfluenceSinkTest.java    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/ConfluenceSink.java
b/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/ConfluenceSink.java
index 6516dbc..21263fd 100644
--- a/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/ConfluenceSink.java
+++ b/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/ConfluenceSink.java
@@ -1081,7 +1081,7 @@ public class ConfluenceSink
 
         if ( verbatimBoxedFlag )
         {
-            write( "{code|borderStyle=solid}" );
+            write( "{code:borderStyle=solid}" );
         }
         else
         {
diff --git a/doxia-modules/doxia-module-confluence/src/test/java/org/apache/maven/doxia/module/confluence/ConfluenceSinkTest.java
b/doxia-modules/doxia-module-confluence/src/test/java/org/apache/maven/doxia/module/confluence/ConfluenceSinkTest.java
index 90e8344..286bbc6 100644
--- a/doxia-modules/doxia-module-confluence/src/test/java/org/apache/maven/doxia/module/confluence/ConfluenceSinkTest.java
+++ b/doxia-modules/doxia-module-confluence/src/test/java/org/apache/maven/doxia/module/confluence/ConfluenceSinkTest.java
@@ -230,7 +230,7 @@ public class ConfluenceSinkTest
     /** {@inheritDoc} */
     protected String getVerbatimBlock( String text )
     {
-        return "{code|borderStyle=solid}" + EOL + text + "{code}" + EOL + EOL;
+        return "{code:borderStyle=solid}" + EOL + text + "{code}" + EOL + EOL;
     }
 
     /** {@inheritDoc} */


Mime
View raw message