New lines aren't replaced by br tags in HTML
If a user adds new lines to their ticket body, the HTML body still treats them as new lines. Didn't it used to replace them with br tags? Either way, new lines are lost in the HTML in both Lighthouse and apps using the API.
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 System on 06 Aug, 2009 04:47 PM
This discussion was assigned to Jeremy McAnally, on ticket 480.
2 Posted by Rick on 06 Aug, 2009 04:48 PM
This is probably due to how markdown works. You need to add two spaces after a line to get the single line break.
We've been pushing a bunch of tweaks to the Tender formatter and finally have something that covers all the edge cases that people have reported. We'll be pushing this code to lighthouse soon.
3 Posted by Rick on 27 Aug, 2009 11:00 PM
I just pushed it. We're supporting the same markdown tweaks that Github uses. In some simple cases, you can separate lines by a linebreak and have it translated to markdown linebreaks.
Rick closed this discussion on 27 Aug, 2009 11:00 PM.