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.
2 parents 5380c63 + 493ea91 commit d224232Copy full SHA for d224232
src/Sidekick.Apis.Poe/Parser/ParsingItem.cs
@@ -1,6 +1,7 @@
1
using System.Text.RegularExpressions;
2
using Sidekick.Apis.Poe.Parser.Tokenizers;
3
using Sidekick.Common.Game.Items;
4
+using Sidekick.Apis.Poe.Modifiers;
5
6
namespace Sidekick.Apis.Poe.Parser
7
{
@@ -18,8 +19,8 @@ public class ParsingItem
18
19
public ParsingItem(string text)
20
21
Text = new ItemNameTokenizer().CleanString(text);
-
22
- Blocks = text
+ Text = ModifierProvider.RemoveSquareBrackets(Text);
23
+ Blocks = Text
24
.Split(SeparatorPattern, StringSplitOptions.RemoveEmptyEntries)
25
.Select(x => new ParsingBlock(x.Trim('\r', '\n')))
26
.ToList();
0 commit comments