We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63a949d commit 9acff99Copy full SHA for 9acff99
src/Text/Pandoc/Readers/Textile.hs
@@ -783,7 +783,9 @@ simpleInline border construct = try $ do
783
attr <- attributes
784
body <- trimInlines . mconcat <$>
785
withQuoteContext InSingleQuote
786
- (manyTill (notFollowedBy newline >> inline)
+ (manyTill (((B.space <>) <$>
787
+ (whitespace *> notFollowedBy newline >> inline))
788
+ <|> (notFollowedBy newline >> inline))
789
(try border <* notFollowedBy alphaNum))
790
return $ construct $
791
if attr == nullAttr
test/command/10414.md
@@ -0,0 +1,6 @@
1
+```
2
+% pandoc -f textile -t html
3
+from 30.-100. text, inside - after dash
4
+^D
5
+<p>from 30.–100. text, inside - after dash</p>
6
0 commit comments