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 e25bc49 commit 8bcdc52Copy full SHA for 8bcdc52
lib/inlines.js
@@ -382,8 +382,8 @@ var handleDelim = function(cc, block) {
382
) {
383
this.delimiters = {
384
cc: cc,
385
- numdelims: numdelims,
386
- origdelims: numdelims,
+ numdelims: 1,
+ origdelims: 1,
387
node: node,
388
previous: this.delimiters,
389
next: null,
@@ -488,7 +488,7 @@ var processEmphasis = function(stack_bottom) {
488
);
489
490
// build contents for new emph element
491
- var emph = new Node(use_delims === 1 ? "emph" : "strong");
+ var emph = new Node(use_delims === 1 && closercc !== C_ASTERISK ? "emph" : "strong");
492
493
tmp = opener_inl._next;
494
while (tmp && tmp !== closer_inl) {
0 commit comments