Browse Source

Made alert type specifications case insensitive

tags/v0.10
Frans Bouma 10 years ago
parent
commit
369ec757c0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/MarkdownDeep/BlockProcessor.cs

+ 1
- 1
src/MarkdownDeep/BlockProcessor.cs View File

@@ -1335,7 +1335,7 @@ namespace MarkdownDeep
// Remove the trailing line end
endContent = UnskipCRLFBeforePos(endContent);
b.BlockType = BlockType.alert;
b.Data = alertType;
b.Data = alertType.ToLowerInvariant();
// scan the content, as it can contain markdown statements.
var contentProcessor = new BlockProcessor(m_markdown, m_markdown.MarkdownInHtml);
b.Children = contentProcessor.ScanLines(Input, startContent, endContent - startContent);


Loading…
Cancel
Save