message: Fix ordering of markup tag application
diff: @@ -81,12 +81,6 @@ function formatReduceFromChildren(
  attributes.delete('dim');
  const applyTags: Array<TagNode> = [];
  - if (attributes.size > 0 || attributes.size === 0 && !shouldIgnoreTag(
  - child.name,
  - opts,
  - )) {
  - applyTags.push(child);
  - }
  if (emphasis) {
  applyTags.push({
  type: 'Tag',
  @@ -103,6 +97,12 @@ function formatReduceFromChildren(
  children: [],
  });
  }
  + if (attributes.size > 0 || attributes.size === 0 && !shouldIgnoreTag(
  + child.name,
  + opts,
  + )) {
  + applyTags.push(child);
  + }
  let res = formatReduceFromChildren(child.children, {
  ...opts,
  