Skip to content

Commit 0cc8562

Browse files
committed
support utf-8 chars in the quickstart guide
1 parent 2dd77a5 commit 0cc8562

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

quickstart-guide.lua

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ local function get_sections()
2424
end
2525
local prev_line = nil
2626
for line in lines do
27+
line = dfhack.utf2df(line)
2728
if line:match('^[=-]+$') then
2829
add_section_widget(sections, section)
2930
section = {}

0 commit comments

Comments
 (0)