-
Notifications
You must be signed in to change notification settings - Fork 274
Closed
Labels
Description
Notice the very counterintuitive behavior where _x_\n*{*{ recognizes the last two asterisks as delimiters, but if the x is turned into an asterisk, they stop being recognized.
Events from pulldown-cmark:
"_*_\n*{*{\n" -> [
Start(Paragraph)
Start(Emphasis)
Text(Borrowed("*"))
End(Emphasis)
SoftBreak
Text(Boxed("*{*{"))
End(Paragraph)
]Events from pandoc:
"_*_\n*{*{\n" -> [
Start(Paragraph)
Start(Emphasis)
Text(Boxed("*"))
End(Emphasis)
SoftBreak
Start(Emphasis)
Text(Boxed("{"))
End(Emphasis)
Text(Boxed("{"))
End(Paragraph)
]Events from commonmark.js:
"_*_\n*{*{\n" -> [
Start(Paragraph)
Start(Emphasis)
Text(Boxed("*"))
End(Emphasis)
SoftBreak
Start(Emphasis)
Text(Boxed("{"))
End(Emphasis)
Text(Boxed("{"))
End(Paragraph)
]AST from pandoc:
Pandoc {
meta: {},
blocks: [
Para(
[
Emph(
[
Str(
"*",
),
],
),
SoftBreak,
Emph(
[
Str(
"{",
),
],
),
Str(
"{",
),
],
),
],
}
Reactions are currently unavailable