GenieClient / Genie4

.NET 6 Update of Genie
GNU General Public License v3.0
21 stars 14 forks source link

Prevented printing of lines which are only XML and \r\n #104

Closed mj-colonel-panic closed 2 years ago

mj-colonel-panic commented 2 years ago

1 - added a new bool, hasXML 2 - At line 552 I flip hasXML to true every time it detects that it's going into XML - never turns it off, it starts off and if the line doesn't have XML it never hits 3 - down towards the end of the function around 790 I wrapped the function to ParseText in a check for the line to not be XML with only a line break. Including other whitespace characters will pass this check.