File tree Expand file tree Collapse file tree 4 files changed +5
-4
lines changed
Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 88
99``` toml
1010[dependencies ]
11- Highlighter = " boatbomber/highlighter@0.8.1 "
11+ Highlighter = " boatbomber/highlighter@0.8.2 "
1212```
1313
1414Roblox Model:
Original file line number Diff line number Diff line change 11{
22 "name" : " @boatbomber/highlighter" ,
3- "version" : " 0.8.1 " ,
3+ "version" : " 0.8.2 " ,
44 "license" : " MIT" ,
55 "repository" : {
66 "type" : " git" ,
Original file line number Diff line number Diff line change @@ -18,7 +18,8 @@ function Highlighter._getLabelingInfo(textObject: types.TextObject)
1818 return
1919 end
2020
21- local numLines = # data .Lines
21+ local src = utility .convertTabsToSpaces (utility .removeControlChars (textObject .Text ))
22+ local numLines = # string .split (src , " \n " )
2223 if numLines == 0 then
2324 return
2425 end
Original file line number Diff line number Diff line change 11[package ]
22name = " boatbomber/highlighter"
33description = " RichText highlighting Lua code with a pure Lua lexer"
4- version = " 0.8.1 "
4+ version = " 0.8.2 "
55license = " MIT"
66authors = [" boatbomber (https://boatbomber.com)" ]
77registry = " https://github.com/upliftgames/wally-index"
You can’t perform that action at this time.
0 commit comments