Newlines in url stopped working
See original GitHub issueThe following yaml snippet isn’t rendered properly
abc:
- line1
- line2
after being converted to url
https://carbon.now.sh/?code=abc%3A%0A%20%20-%20line1%0A%20%20-%20line2%0A
![2020-01-10 at 16 58](https://user-images.githubusercontent.com/370942/72144041-65a5da80-33ca-11ea-8541-77d1588805a6.png)
Everything after the first %0A
character is discarded. This breaks editor integrations.
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
url - Transmitting newline character "\n" - Stack Overflow
Try using %0A in the URL, just like you've used %20 instead of the space character.
Read more >New Line and URL Question (URGENT) - MSDN - Microsoft
As I'm working with C# as primary language, I wasn't 100% sure about the use of \n and \r characters (come from VB5/6...
Read more >URL navigation: line breaks for multi line texts not working?
Hi,. I tried giving the line breaks for a 'description' below field using the line break / carriage return = , but it...
Read more >Line break in request URL causing request without params ...
Ok, I know that it is highly unlikely that somebody will accidentally add a line break to the URL bar of Postman (at...
Read more >New line character %250A in URL: Apache throws 404 error
Anyway if I replace %250A with %0A it still doesn't work on the production server, but works on localhost.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yup, I plan on investigating soon to figure out the correct/intended behavior.
@Timer thanks so much for investigating. Will follow along there.