From ff6f9ee1afa758726fc39650ec6a7043f27958d6 Mon Sep 17 00:00:00 2001
From: "p.kosyh"
Date: Fri, 2 Jul 2010 18:25:51 +0000
Subject: [PATCH] wolz idea _" and "_
---
stead/format.lua | 1 +
1 file changed, 1 insertion(+)
diff --git a/stead/format.lua b/stead/format.lua
index 39c0f92..82d2a2d 100644
--- a/stead/format.lua
+++ b/stead/format.lua
@@ -18,6 +18,7 @@ stead.fmt = stead.hook(stead.fmt, function(f, ...)
r = r:gsub('^%-%-([^-])', '—%1');
end
if format.quotes and utf8 then
+ r = r:gsub('_"','«'):gsub('"_',"»");
r = r:gsub('"([^"]*)"','«%1»');
end
if format.para and stead.state then