Keep leading spacesd when parsing the long description
This commit is contained in:
parent
8dc2514852
commit
88728c0bba
1 changed files with 1 additions and 1 deletions
|
|
@ -108,7 +108,7 @@ module DebImporter
|
|||
fields[name.to_sym]=value unless value.empty?
|
||||
name=$1
|
||||
value=''
|
||||
when /^\s+(.+)/ # " Indented multi-line value"
|
||||
when /^\s(.+)/ # " Indented multi-line value"
|
||||
# Add a newline for multi-line entries ("Key: Value\n Foo\n Bar")
|
||||
unless value.empty?
|
||||
value << "\n"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue