aboutsummaryrefslogtreecommitdiffstats
path: root/FMark
diff options
context:
space:
mode:
Diffstat (limited to 'FMark')
-rw-r--r--FMark/src/Common/Parser/ParserHelperFuncs.fs3
1 files changed, 2 insertions, 1 deletions
diff --git a/FMark/src/Common/Parser/ParserHelperFuncs.fs b/FMark/src/Common/Parser/ParserHelperFuncs.fs
index 100d8dc..a2894cb 100644
--- a/FMark/src/Common/Parser/ParserHelperFuncs.fs
+++ b/FMark/src/Common/Parser/ParserHelperFuncs.fs
@@ -437,7 +437,8 @@ let parseInLineElements2 refLst toks =
match toks with
| MatchSym BACKTICK (content, rtks) -> (content|> strAllToks|> Code|> FrmtedString )::currentLine, rtks
| MatchStrongAndEm (content, rtks, frontLiteral, backLiteral) ->
- styleHelper (Strong << FrmtedString << makeList << Emphasis) (content, rtks, frontLiteral, backLiteral)
+ let inlineContent = (parseInLines [] content |> Strong |> FrmtedString |> makeList |> Emphasis |> FrmtedString)
+ genFormat (currentLine, inlineContent, frontLiteral, backLiteral), rtks
| MatchStrong (content, rtks, frontLiteral, backLiteral) ->
styleHelper Strong (content, rtks, frontLiteral, backLiteral)
| MatchEm (content, rtks, frontLiteral, backLiteral) ->