Handle tabs in rendering of licenses (#9264)
This commit is contained in:
parent
470db7d96e
commit
e04376895d
@ -159,6 +159,11 @@ class LicenseEntryWithLineBreaks extends LicenseEntry {
|
||||
currentLineIndent += 1;
|
||||
state = _LicenseEntryWithLineBreaksParserState.beforeParagraph;
|
||||
break;
|
||||
case '\t':
|
||||
lineStart = currentPosition + 1;
|
||||
currentLineIndent += 8;
|
||||
state = _LicenseEntryWithLineBreaksParserState.beforeParagraph;
|
||||
break;
|
||||
case '\n':
|
||||
case '\f':
|
||||
if (lines.isNotEmpty)
|
||||
|
Loading…
x
Reference in New Issue
Block a user