Commit e0437689 authored by Jason Simmons's avatar Jason Simmons Committed by GitHub

Handle tabs in rendering of licenses (#9264)

parent 470db7d9
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment