We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 173c04d commit 55a6010Copy full SHA for 55a6010
stead/stead3/fmt.lua
@@ -38,9 +38,9 @@ std.format = function(r, state)
38
if utf8 then
39
if fmt.dash then
40
r = r:gsub("%-%-%-*", { ['--'] = '—' })
41
- r = r:gsub("[ \t]+—", iface:nb('').."—"); -- do not break dash
42
r = r:gsub("^([^ \t]*)—[ \t]+", "%1— ");
43
r = r:gsub("(\n[^ \t]*)—[ \t]+", "%1— ");
+ r = r:gsub("[ \t]+—", iface:nb('').."—"); -- do not break dash
44
end
45
if fmt.quotes then
46
r = r:gsub('_"','«'):gsub('"_',"»");
0 commit comments