Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

Encoding HTML converts text to single line #4

Closed
ProLoser opened this issue May 23, 2015 · 3 comments
Closed

Encoding HTML converts text to single line #4

ProLoser opened this issue May 23, 2015 · 3 comments

Comments

@ProLoser
Copy link

Seems to destroy newline characters or something.

@PiotrCzapla
Copy link
Contributor

Could you give me some examples? I've just encoded:

"line 1"
"line 2"
"line 3"
"line 4"

to

"line 1"
"line 2"
"line 3"
"line 4" 

And decoded it back to the original text so the feature works as expected.

If you don't want the new lines to be encoded just split the selection to multiple Shit-Mac-L and then do the encoding. It will leave the new lines untouched.

Here is what I've get for the example above:

"line 1"
"line 2"
"line 3"
"line 4"

@ProLoser
Copy link
Author

ProLoser commented Jun 1, 2015

Ahhh... That seems like unusual behavior that you should opt-into vs out of.

@PiotrCzapla
Copy link
Contributor

it is consistent with other encodings. and it is quite useful for: base64 for example. I rather keep this consistent, but feel free to add a configuration option to turn this off.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants