diff --git a/src/Text/Pandoc/Writers/DokuWiki.hs b/src/Text/Pandoc/Writers/DokuWiki.hs index dabece5f0..e9c0ecb02 100644 --- a/src/Text/Pandoc/Writers/DokuWiki.hs +++ b/src/Text/Pandoc/Writers/DokuWiki.hs @@ -335,11 +335,11 @@ inlineToDokuWiki :: WriterOptions -> Inline -> State WriterState String inlineToDokuWiki opts (Emph lst) = do contents <- inlineListToDokuWiki opts lst - return $ "''" ++ contents ++ "''" + return $ "//" ++ contents ++ "//" inlineToDokuWiki opts (Strong lst) = do contents <- inlineListToDokuWiki opts lst - return $ "'''" ++ contents ++ "'''" + return $ "**" ++ contents ++ "**" inlineToDokuWiki opts (Strikeout lst) = do contents <- inlineListToDokuWiki opts lst diff --git a/tests/writer.dokuwiki b/tests/writer.dokuwiki index 013c629d8..32f984ef9 100644 --- a/tests/writer.dokuwiki +++ b/tests/writer.dokuwiki @@ -7,7 +7,7 @@ This is a set of tests for pandoc. Most of them are adapted from John Gruber’s ===== Level 2 with an [[url|embedded link]] ===== -==== Level 3 with ''emphasis'' ==== +==== Level 3 with //emphasis// ==== === Level 4 === @@ -15,7 +15,7 @@ This is a set of tests for pandoc. Most of them are adapted from John Gruber’s ====== Level 1 ====== -===== Level 2 with ''emphasis'' ===== +===== Level 2 with //emphasis// ===== ==== Level 3 ==== @@ -270,10 +270,10 @@ Loose: Multiple blocks with italics:
red fruit
contains seeds, crisp, pleasant to taste
orange fruit
{ orange code block }
orange block quote
-This is ''emphasized'' +This is //emphasized// | -And this is '''strong''' +And this is **strong** |
>
, $
, \
, \$
, <html>
.
-$e = mc^2$
.
-* $22,000 is a ''lot'' of money. So is $34,000. (It worked if “lot” is emphasized.)
+* $22,000 is a //lot// of money. So is $34,000. (It worked if “lot” is emphasized.)
* Shoes ($20) and socks ($5).
-* Escaped $
: $73 ''this should be emphasized'' 23$.
+* Escaped $
: $73 //this should be emphasized// 23$.
Here’s a LaTeX table:
@@ -640,7 +640,7 @@ Subsequent blocks are indented to show that they belong to the footnote (as with
{ <code> }If you want, you can indent every line, but you can also be lazy and just indent the first line of each block. - This should ''not'' be a footnote reference, because it contains a space.[^my note] Here is an inline note.This is ''easier'' to type. Inline notes may contain [http://google.com links] and
]
verbatim characters, as well as [bracketed text].
+ This should //not// be a footnote reference, because it contains a space.[^my note] Here is an inline note.This is //easier// to type. Inline notes may contain [http://google.com links] and ]
verbatim characters, as well as [bracketed text].
Notes can go in quotes.In quote.