mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-10-29 06:26:02 +00:00
parent
bae9ceefc2
commit
f700315e56
2 changed files with 1 additions and 3 deletions
|
|
@ -48,8 +48,6 @@ namespace AideDeJeuLib
|
|||
{
|
||||
return GetChildren<ClassFeatureItem>();
|
||||
}
|
||||
private set
|
||||
{ }
|
||||
}
|
||||
|
||||
[YamlMember(Order = 15)]
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ namespace AideDeJeu.ViewModels.Library
|
|||
public Item Item { get; set; }
|
||||
}
|
||||
|
||||
public static string GetPreview(string markdown, string searchText)
|
||||
public string GetPreview(string markdown, string searchText)
|
||||
{
|
||||
int position = markdown.IndexOf(searchText);
|
||||
int startPosition = Math.Max(0, position - 30);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue