OSDN Git Service

Replace line feed.
authorAiwota Programmer <aiwotaprog@tetteke.tk>
Sat, 5 May 2007 15:41:20 +0000 (00:41 +0900)
committerAiwota Programmer <aiwotaprog@tetteke.tk>
Sat, 5 May 2007 15:41:20 +0000 (00:41 +0900)
src/FukuiNoNamari/submit_window.py

index 379e313..5eb97be 100644 (file)
@@ -222,7 +222,7 @@ class WinWrap:
         for input in inputs:
             if "name" in input and "value" in input:
                 name = input["name"]
-                value = input["value"]
+                value = input["value"].replace("&#10;", "\n");
                 if encoding:
                     value = value.encode(encoding, "replace")
                 self.post_dict[name] = value