Skip to content

Commit ac6db48

Browse files
committed
fix: openapi/table: AutoLink regexp
1 parent 90c7949 commit ac6db48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data/table/write.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ func (tbl *Table) FormatterFunc() func(val string, colIdx uint) (interface{}, er
147147
}
148148
}
149149

150-
var rxUrlHttpOrHttps = regexp.MustCompile(`^(i?)https?://.`)
150+
var rxUrlHttpOrHttps = regexp.MustCompile(`^(?i)https?://.`)
151151

152152
// WriteXLSX writes a table as an Excel XLSX file with
153153
// row formatter option.

0 commit comments

Comments
 (0)