Extra line breaks added to source code
In recent weeks, the formatting for source code (@@@) has started adding a bunch of extra line breaks for each single line break in the text. Please fix, so only one break per actual break is rendered when posted.
Discussions are closed to public comments.
If you need help with Lighthouse please
start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Julien on 02 Apr, 2013 04:44 PM
Hi Nick,
Can you link a ticket where you are seeing this behavior?
Thanks.
2 Posted by Nick Miller on 02 Apr, 2013 04:45 PM
Here's an example:
https://sporklabs.lighthouseapp.com/projects/14633/tickets/4284-KTC...
3 Posted by Julien on 02 Apr, 2013 04:53 PM
Hi Nick,
We updated our Markdown library a while back and this may have been a side effect. That being said, the
@@@
characters should always be surrounded by new lines, and if you add new lines they will behave correctly. More specifically, you should use:rather than
I'll create a ticket and see that we fix this behavior in the future. In the meantime, simply add the new lines and you will be all set.
4 Posted by Nick Miller on 02 Apr, 2013 04:56 PM
Sweet, that works! FWIW, I got in the habit of not adding additional line breaks above and below the @@@ because the previous version used to add additional line breaks, so I was compensating. All good - I'll start using this syntax. Thanks for the speedy reply.
5 Posted by Julien on 02 Apr, 2013 04:58 PM
Hey Nick,
The library we used for Markdown was broken in all sorts of ways, which is why we upgraded it in the first place. So you may have been using a bug in the library to fix another one. Ha..
Anyway, glad you have something that works for you now.
Julien closed this discussion on 02 Apr, 2013 05:17 PM.