DokuWiki writer: Span no longer swallows text
This commit is contained in:
parent
7647d87657
commit
0c6f06b8a4
2 changed files with 3 additions and 7 deletions
|
@ -31,7 +31,6 @@ DokuWiki: <https://www.dokuwiki.org/dokuwiki>
|
|||
-}
|
||||
|
||||
{-
|
||||
[ ] Correct handling of Span
|
||||
[ ] Implement nested blockquotes (currently only ever does one level)
|
||||
[ ] Implement alignment of text in tables
|
||||
[ ] Implement comments
|
||||
|
@ -348,12 +347,9 @@ inlineListToDokuWiki opts lst = mapM (inlineToDokuWiki opts) lst >>= return . co
|
|||
-- | Convert Pandoc inline element to DokuWiki.
|
||||
inlineToDokuWiki :: WriterOptions -> Inline -> State WriterState String
|
||||
|
||||
inlineToDokuWiki _opts (Span _attrs _ils) = do
|
||||
return ""
|
||||
{-
|
||||
inlineToDokuWiki opts (Span _attrs ils) = do
|
||||
contents <- inlineListToDokuWiki opts ils
|
||||
return $ render Nothing (tagWithAttrs "span" attrs) ++ contents ++ "</span>"
|
||||
-}
|
||||
return contents
|
||||
|
||||
inlineToDokuWiki opts (Emph lst) = do
|
||||
contents <- inlineListToDokuWiki opts lst
|
||||
|
|
|
@ -2,7 +2,7 @@ Regular text //italics// **bold //bold italics//**.
|
|||
|
||||
This is Small Caps, and this is <del>strikethrough</del>.
|
||||
|
||||
Some people use .
|
||||
Some people use single underlines for //emphasis//.
|
||||
|
||||
Above the line is <sup>superscript</sup> and below the line is <sub>subscript</sub>.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue