mirror of
https://github.com/denisidoro/navi.git
synced 2026-01-23 02:14:19 +00:00
[#954] Do not collapse blank lines inside snippets
This commit is contained in:
parent
47199b413b
commit
cdecabd3f4
1 changed files with 3 additions and 3 deletions
|
|
@ -258,9 +258,9 @@ impl<'a> Parser<'a> {
|
|||
|
||||
// blank
|
||||
if line.is_empty() {
|
||||
// if !item.snippet.is_empty() {
|
||||
// item.snippet.push_str(deser::LINE_SEPARATOR);
|
||||
// }
|
||||
if !item.snippet.is_empty() && inside_snippet {
|
||||
item.snippet.push_str(deser::LINE_SEPARATOR);
|
||||
}
|
||||
}
|
||||
// tag
|
||||
else if line.starts_with('%') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue