瀏覽代碼

Changed newline in timberline converter to be a space.

Kenric Nugteren 1 年之前
父節點
當前提交
3be8bbaa54
共有 2 個文件被更改,包括 2 次插入2 次删除
  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;
                             continue;
                         }
                         }
                     }
                     }
-                    columns.Add(new Column<T>(prop.Name));
+                    columns.Add(new Column<T>(prop));
                 }
                 }
                 if(types.Length == 1)
                 if(types.Length == 1)
                 {
                 {

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

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