guanglinlv / shellinabox

Automatically exported from code.google.com/p/shellinabox
Other
0 stars 0 forks source link

through the browser pasted text looses linebreaks #129

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. open shellinabox on server and login
2. open vi with new document
3. copy a simple text containing linebreaks on the client system to the 
clipboard, for example:

<table>
<tr>
<td>
foobar
</td>
</tr>
</table>

Switch back to shellinabox in your browserwindow (don't forget to press "i" in 
vi to start editing).
Paste the clipboard to shellinabox by clicking the menu item "paste" in the 
browser menu (under "edit", I guess).

What is the expected output? What do you see instead?
expected:
<table>
<tr>
<td>
foobar
</td>
</tr>
</table>

instead:
<table> <tr> <td> foobar </td> </tr> </table>

What version of the product are you using? On what operating system?
Client: Firefox 5.0, Windows XP SP3
Server: Debian 6, shellinabox 2.10

Please provide any additional information below.

Original issue reported on code.google.com by lehmi...@gmail.com on 4 Aug 2011 at 5:29

GoogleCodeExporter commented 8 years ago
Someone issued this already (issue 56).

Sorry...

Original comment by lehmi...@gmail.com on 4 Aug 2011 at 5:32

GoogleCodeExporter commented 8 years ago

Original comment by beewoo...@gmail.com on 31 Mar 2012 at 10:35