mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-12-16 07:10:32 +00:00
Correctif deprecated
This commit is contained in:
parent
602bbac8e9
commit
7291766eb3
2 changed files with 2 additions and 2 deletions
|
|
@ -354,7 +354,7 @@ namespace AideDeJeu.Tools
|
|||
{
|
||||
var emphasisInline = inline as Markdig.Syntax.Inlines.EmphasisInline;
|
||||
var delimiterChar = emphasisInline.DelimiterChar.ToString();
|
||||
if (emphasisInline.IsDouble)
|
||||
if (emphasisInline.DelimiterCount == 2) //.IsDouble)
|
||||
{
|
||||
delimiterChar += delimiterChar;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -559,7 +559,7 @@
|
|||
};
|
||||
|
||||
case EmphasisInline emphasis:
|
||||
var childAttributes = attributes | (emphasis.IsDouble ? FontAttributes.Bold : FontAttributes.Italic);
|
||||
var childAttributes = attributes | (emphasis.DelimiterCount == 2 /*.IsDouble*/ ? FontAttributes.Bold : FontAttributes.Italic);
|
||||
return emphasis.SelectMany(x => CreateSpans(x, family, childAttributes, foregroundColor, backgroundColor, size)).ToArray();
|
||||
|
||||
case LineBreakInline breakline:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue