Skip to content

Commit 94126f8

Browse files
KSemenenkoCopilot
andauthored
Update src/MarkItDown/Converters/TextileConverter.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 01a9213 commit 94126f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/MarkItDown/Converters/TextileConverter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ private static string ConvertToMarkdown(string textile)
7070
var headingMatch = Heading.Match(trimmed);
7171
if (headingMatch.Success)
7272
{
73-
var level = int.Parse(headingMatch.Groups["level"].Value, System.Globalization.CultureInfo.InvariantCulture);
73+
var level = int.Parse(headingMatch.Groups["level"].Value, CultureInfo.InvariantCulture);
7474
builder.AppendLine(new string('#', Math.Clamp(level, 1, 6)) + " " + headingMatch.Groups["text"].Value.Trim());
7575
continue;
7676
}

0 commit comments

Comments
 (0)