Bläddra i källkod

Changed newline in timberline converter to be a space.

Kenric Nugteren 1 år sedan
förälder
incheckning
3be8bbaa54
2 ändrade filer med 2 tillägg och 2 borttagningar
  1. 1 1
      InABox.Core/Column.cs
  2. 1 1
      InABox.Poster.Timberline/TimberlineConverters.cs

+ 1 - 1
InABox.Core/Column.cs

@@ -508,7 +508,7 @@ namespace InABox.Core
                             continue;
                         }
                     }
-                    columns.Add(new Column<T>(prop.Name));
+                    columns.Add(new Column<T>(prop));
                 }
                 if(types.Length == 1)
                 {

+ 1 - 1
InABox.Poster.Timberline/TimberlineConverters.cs

@@ -30,7 +30,7 @@ namespace InABox.Poster.Timberline
             {
                 str = str[..MaxLength];
             }
-            str = str.ReplaceLineEndings("");
+            str = str.ReplaceLineEndings(" ");
             return str;
         }
     }